0s autopkgtest [11:36:06]: starting date and time: 2024-03-19 11:36:06+0000 0s autopkgtest [11:36:06]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [11:36:06]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.vge77h2u/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-ppc64el-15.secgroup --name adt-noble-ppc64el-glib2.0-20240319-113606-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-ppc64el-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/ 222s autopkgtest [11:39:48]: testbed dpkg architecture: ppc64el 222s autopkgtest [11:39:48]: testbed apt version: 2.7.12 222s autopkgtest [11:39:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 223s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 224s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 224s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.7 kB] 224s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3768 kB] 226s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [486 kB] 226s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [649 kB] 226s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 226s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 226s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 226s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4045 kB] 227s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 227s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [48.3 kB] 227s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 230s Fetched 9187 kB in 4s (2069 kB/s) 230s Reading package lists... 233s Reading package lists... 233s Building dependency tree... 233s Reading state information... 233s Calculating upgrade... 233s The following packages will be REMOVED: 233s libreadline8 libssl3 233s The following NEW packages will be installed: 233s libreadline8t64 libssl3t64 233s The following packages have been kept back: 233s libpython3.12-minimal libpython3.12-stdlib python3.12 python3.12-minimal 233s The following packages will be upgraded: 233s openssl readline-common 234s 2 upgraded, 2 newly installed, 2 to remove and 4 not upgraded. 234s Need to get 3389 kB of archives. 234s After this operation, 75.8 kB of additional disk space will be used. 234s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el readline-common all 8.2-3.1 [56.4 kB] 234s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libreadline8t64 ppc64el 8.2-3.1 [182 kB] 234s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el openssl ppc64el 3.0.13-0ubuntu2 [1026 kB] 235s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libssl3t64 ppc64el 3.0.13-0ubuntu2 [2125 kB] 237s Fetched 3389 kB in 3s (1124 kB/s) 237s (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 ... 70095 files and directories currently installed.) 237s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 237s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 237s dpkg: libreadline8:ppc64el: dependency problems, but removing anyway as you requested: 237s parted depends on libreadline8 (>= 6.0). 237s libpython3.12-stdlib:ppc64el depends on libreadline8 (>= 7.0~beta). 237s libpython3.11-stdlib:ppc64el depends on libreadline8 (>= 7.0~beta). 237s gpgsm depends on libreadline8 (>= 6.0). 237s gpgconf depends on libreadline8 (>= 6.0). 237s gpg depends on libreadline8 (>= 6.0). 237s gawk depends on libreadline8 (>= 6.0). 237s fdisk depends on libreadline8 (>= 6.0). 237s bc depends on libreadline8 (>= 6.0). 237s 237s (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 ... 70095 files and directories currently installed.) 237s Removing libreadline8:ppc64el (8.2-3) ... 237s Selecting previously unselected package libreadline8t64:ppc64el. 237s (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 ... 70083 files and directories currently installed.) 237s Preparing to unpack .../libreadline8t64_8.2-3.1_ppc64el.deb ... 237s Adding 'diversion of /lib/powerpc64le-linux-gnu/libhistory.so.8 to /lib/powerpc64le-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 237s Adding 'diversion of /lib/powerpc64le-linux-gnu/libhistory.so.8.2 to /lib/powerpc64le-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 237s Adding 'diversion of /lib/powerpc64le-linux-gnu/libreadline.so.8 to /lib/powerpc64le-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 237s Adding 'diversion of /lib/powerpc64le-linux-gnu/libreadline.so.8.2 to /lib/powerpc64le-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 237s Unpacking libreadline8t64:ppc64el (8.2-3.1) ... 237s Preparing to unpack .../openssl_3.0.13-0ubuntu2_ppc64el.deb ... 237s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 237s dpkg: libssl3:ppc64el: dependency problems, but removing anyway as you requested: 237s wget depends on libssl3 (>= 3.0.0). 237s tnftp depends on libssl3 (>= 3.0.0). 237s tcpdump depends on libssl3 (>= 3.0.0). 237s systemd-resolved depends on libssl3 (>= 3.0.0). 237s systemd depends on libssl3 (>= 3.0.0). 237s sudo depends on libssl3 (>= 3.0.0). 237s rsync depends on libssl3 (>= 3.0.0). 237s python3-cryptography depends on libssl3 (>= 3.0.0). 237s openssh-server depends on libssl3 (>= 3.0.10). 237s openssh-client depends on libssl3 (>= 3.0.10). 237s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 237s libsystemd-shared:ppc64el depends on libssl3 (>= 3.0.0). 237s libssh-4:ppc64el depends on libssl3 (>= 3.0.0). 237s libsasl2-modules:ppc64el depends on libssl3 (>= 3.0.0). 237s libsasl2-2:ppc64el depends on libssl3 (>= 3.0.0). 237s libpython3.12-minimal:ppc64el depends on libssl3 (>= 3.0.0). 237s libpython3.11-minimal:ppc64el depends on libssl3 (>= 3.0.0). 237s libnvme1 depends on libssl3 (>= 3.0.0). 237s libkrb5-3:ppc64el depends on libssl3 (>= 3.0.0). 237s libkmod2:ppc64el depends on libssl3 (>= 3.0.0). 237s libfido2-1:ppc64el depends on libssl3 (>= 3.0.0). 237s libcurl4:ppc64el depends on libssl3 (>= 3.0.0). 237s libcryptsetup12:ppc64el depends on libssl3 (>= 3.0.0). 237s kmod depends on libssl3 (>= 3.0.0). 237s dhcpcd-base depends on libssl3 (>= 3.0.0). 237s bind9-libs:ppc64el depends on libssl3 (>= 3.0.0). 237s 237s (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 ... 70103 files and directories currently installed.) 237s Removing libssl3:ppc64el (3.0.10-1ubuntu4) ... 237s Selecting previously unselected package libssl3t64:ppc64el. 237s (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 ... 70092 files and directories currently installed.) 237s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_ppc64el.deb ... 237s Unpacking libssl3t64:ppc64el (3.0.13-0ubuntu2) ... 237s Setting up libssl3t64:ppc64el (3.0.13-0ubuntu2) ... 237s Setting up openssl (3.0.13-0ubuntu2) ... 237s Setting up readline-common (8.2-3.1) ... 237s Setting up libreadline8t64:ppc64el (8.2-3.1) ... 237s Processing triggers for libc-bin (2.39-0ubuntu2) ... 237s Processing triggers for man-db (2.12.0-3) ... 238s Processing triggers for install-info (7.1-3) ... 238s Reading package lists... 238s Building dependency tree... 238s Reading state information... 238s 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 239s sh: Attempting to set up Debian/Ubuntu apt sources automatically 239s sh: Distribution appears to be Ubuntu 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s eatmydata is already the newest version (131-1). 240s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s dbus is already the newest version (1.14.10-4ubuntu1). 240s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 241s Reading package lists... 241s Building dependency tree... 241s Reading state information... 241s rng-tools-debian is already the newest version (2.4). 241s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 241s Reading package lists... 241s Building dependency tree... 241s Reading state information... 241s The following packages will be REMOVED: 241s cloud-init* python3-configobj* python3-debconf* 241s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 241s After this operation, 3252 kB disk space will be freed. 241s (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 ... 70105 files and directories currently installed.) 241s Removing cloud-init (24.1.1-0ubuntu1) ... 242s Removing python3-configobj (5.0.8-3) ... 242s Removing python3-debconf (1.5.86) ... 242s Processing triggers for man-db (2.12.0-3) ... 242s (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 ... 69716 files and directories currently installed.) 242s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 243s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 243s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 243s invoke-rc.d: policy-rc.d denied execution of try-restart. 243s Reading package lists... 243s Building dependency tree... 243s Reading state information... 243s linux-generic is already the newest version (6.8.0-11.11+1). 243s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 244s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 244s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 244s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 246s Reading package lists... 246s Reading package lists... 246s Building dependency tree... 246s Reading state information... 247s Calculating upgrade... 247s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 247s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 247s autopkgtest [11:40:13]: rebooting testbed after setup commands that affected boot 415s autopkgtest [11:43:01]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 418s autopkgtest [11:43:04]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 429s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 429s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 429s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 429s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 429s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 429s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 429s gpgv: Can't check signature: No public key 429s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 430s autopkgtest [11:43:16]: testing package glib2.0 version 2.79.2-1~ubuntu1 430s autopkgtest [11:43:16]: build not needed 433s autopkgtest [11:43:19]: test build: preparing testbed 438s Reading package lists... 438s Building dependency tree... 438s Reading state information... 438s Starting pkgProblemResolver with broken count: 0 438s Starting 2 pkgProblemResolver with broken count: 0 438s Done 439s The following additional packages will be installed: 439s build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 439s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 439s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 439s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 439s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 439s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 439s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 439s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 439s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 439s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 439s rpcsvc-proto uuid-dev zlib1g-dev 439s Suggested packages: 439s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 439s autoconf automake libtool flex bison gdb gcc-doc gdb-powerpc64le-linux-gnu 439s glibc-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 439s libxml2-utils libstdc++-13-doc 439s Recommended packages: 439s manpages manpages-dev libc-devtools 439s The following NEW packages will be installed: 439s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 439s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 439s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 439s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 439s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 439s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 439s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 439s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 439s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 439s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 439s rpcsvc-proto uuid-dev zlib1g-dev 439s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 439s Need to get 67.8 MB/67.8 MB of archives. 439s After this operation, 267 MB of additional disk space will be used. 439s Get:1 /tmp/autopkgtest.z8orER/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 439s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libc-dev-bin ppc64el 2.39-0ubuntu2 [21.3 kB] 439s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el linux-libc-dev ppc64el 6.8.0-11.11 [1585 kB] 439s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el libcrypt-dev ppc64el 1:4.4.36-4 [167 kB] 439s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libtirpc-dev ppc64el 1.3.4+ds-1build1 [262 kB] 440s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libnsl-dev ppc64el 1.3.0-3 [79.2 kB] 440s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el rpcsvc-proto ppc64el 1.4.2-0ubuntu6 [82.3 kB] 440s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libc6-dev ppc64el 2.39-0ubuntu2 [2102 kB] 440s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libisl23 ppc64el 0.26-3 [864 kB] 440s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libmpc3 ppc64el 1.3.1-1 [61.2 kB] 440s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [10.7 MB] 442s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13 ppc64el 13.2.0-17ubuntu2 [1038 B] 442s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 442s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 442s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libcc1-0 ppc64el 14-20240303-1ubuntu1 [48.1 kB] 442s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el libgomp1 ppc64el 14-20240303-1ubuntu1 [161 kB] 442s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libitm1 ppc64el 14-20240303-1ubuntu1 [32.4 kB] 442s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el libatomic1 ppc64el 14-20240303-1ubuntu1 [10.7 kB] 442s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libasan8 ppc64el 14-20240303-1ubuntu1 [2973 kB] 442s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el liblsan0 ppc64el 14-20240303-1ubuntu1 [1325 kB] 443s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libtsan2 ppc64el 14-20240303-1ubuntu1 [2734 kB] 443s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libubsan1 ppc64el 14-20240303-1ubuntu1 [1194 kB] 443s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libquadmath0 ppc64el 14-20240303-1ubuntu1 [158 kB] 443s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libgcc-13-dev ppc64el 13.2.0-17ubuntu2 [1581 kB] 443s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [20.6 MB] 446s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13 ppc64el 13.2.0-17ubuntu2 [477 kB] 446s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 446s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 446s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libstdc++-13-dev ppc64el 13.2.0-17ubuntu2 [2445 kB] 446s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [12.2 MB] 448s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13 ppc64el 13.2.0-17ubuntu2 [14.5 kB] 448s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 448s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 448s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 448s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libgirepository-2.0-0 ppc64el 2.79.2-1~ubuntu1 [84.4 kB] 448s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-bin ppc64el 2.79.2-1~ubuntu1 [111 kB] 448s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libffi-dev ppc64el 3.4.6-1 [67.4 kB] 448s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 448s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev-bin ppc64el 2.79.2-1~ubuntu1 [240 kB] 448s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el uuid-dev ppc64el 2.39.3-6ubuntu2 [37.6 kB] 448s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libblkid-dev ppc64el 2.39.3-6ubuntu2 [260 kB] 448s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libsepol-dev ppc64el 3.5-2 [471 kB] 448s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu1 [245 kB] 448s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu1 [228 kB] 448s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu1 [7016 B] 448s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu1 [794 kB] 448s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libselinux1-dev ppc64el 3.5-2build1 [192 kB] 448s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libmount-dev ppc64el 2.39.3-6ubuntu2 [14.9 kB] 448s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libpkgconf3 ppc64el 1.8.1-2 [36.9 kB] 448s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf-bin ppc64el 1.8.1-2 [22.0 kB] 448s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf ppc64el 1.8.1-2 [16.7 kB] 448s Get:52 http://ftpmaster.internal/ubuntu noble/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg-3ubuntu1 [902 kB] 448s Get:53 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev ppc64el 2.79.2-1~ubuntu1 [2147 kB] 449s Fetched 67.8 MB in 10s (6870 kB/s) 449s Selecting previously unselected package libc-dev-bin. 449s (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 ... 69661 files and directories currently installed.) 449s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_ppc64el.deb ... 449s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 449s Selecting previously unselected package linux-libc-dev:ppc64el. 449s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_ppc64el.deb ... 449s Unpacking linux-libc-dev:ppc64el (6.8.0-11.11) ... 449s Selecting previously unselected package libcrypt-dev:ppc64el. 449s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_ppc64el.deb ... 449s Unpacking libcrypt-dev:ppc64el (1:4.4.36-4) ... 449s Selecting previously unselected package libtirpc-dev:ppc64el. 449s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_ppc64el.deb ... 449s Unpacking libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 449s Selecting previously unselected package libnsl-dev:ppc64el. 449s Preparing to unpack .../04-libnsl-dev_1.3.0-3_ppc64el.deb ... 449s Unpacking libnsl-dev:ppc64el (1.3.0-3) ... 449s Selecting previously unselected package rpcsvc-proto. 449s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_ppc64el.deb ... 449s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 449s Selecting previously unselected package libc6-dev:ppc64el. 449s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_ppc64el.deb ... 449s Unpacking libc6-dev:ppc64el (2.39-0ubuntu2) ... 449s Selecting previously unselected package libisl23:ppc64el. 449s Preparing to unpack .../07-libisl23_0.26-3_ppc64el.deb ... 449s Unpacking libisl23:ppc64el (0.26-3) ... 449s Selecting previously unselected package libmpc3:ppc64el. 449s Preparing to unpack .../08-libmpc3_1.3.1-1_ppc64el.deb ... 449s Unpacking libmpc3:ppc64el (1.3.1-1) ... 449s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 449s Preparing to unpack .../09-cpp-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 449s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 450s Selecting previously unselected package cpp-13. 450s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_ppc64el.deb ... 450s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 450s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 450s Preparing to unpack .../11-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 450s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 450s Selecting previously unselected package cpp. 450s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 450s Unpacking cpp (4:13.2.0-7ubuntu1) ... 450s Selecting previously unselected package libcc1-0:ppc64el. 450s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libgomp1:ppc64el. 450s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libgomp1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libitm1:ppc64el. 450s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libitm1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libatomic1:ppc64el. 450s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libatomic1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libasan8:ppc64el. 450s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libasan8:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package liblsan0:ppc64el. 450s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking liblsan0:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libtsan2:ppc64el. 450s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libtsan2:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libubsan1:ppc64el. 450s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libubsan1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libquadmath0:ppc64el. 450s Preparing to unpack .../21-libquadmath0_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libgcc-13-dev:ppc64el. 450s Preparing to unpack .../22-libgcc-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 450s Unpacking libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 450s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 450s Preparing to unpack .../23-gcc-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 450s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package gcc-13. 451s Preparing to unpack .../24-gcc-13_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 451s Preparing to unpack .../25-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 451s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 451s Selecting previously unselected package gcc. 451s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 451s Unpacking gcc (4:13.2.0-7ubuntu1) ... 451s Selecting previously unselected package libstdc++-13-dev:ppc64el. 451s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 451s Preparing to unpack .../28-g++-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package g++-13. 451s Preparing to unpack .../29-g++-13_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking g++-13 (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package g++-powerpc64le-linux-gnu. 451s Preparing to unpack .../30-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 451s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 451s Selecting previously unselected package g++. 451s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 451s Unpacking g++ (4:13.2.0-7ubuntu1) ... 451s Selecting previously unselected package build-essential. 451s Preparing to unpack .../32-build-essential_12.10ubuntu1_ppc64el.deb ... 451s Unpacking build-essential (12.10ubuntu1) ... 451s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 451s Preparing to unpack .../33-libgirepository-2.0-0_2.79.2-1~ubuntu1_ppc64el.deb ... 451s Unpacking libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 451s Selecting previously unselected package libglib2.0-bin. 451s Preparing to unpack .../34-libglib2.0-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 451s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 451s Selecting previously unselected package libffi-dev:ppc64el. 451s Preparing to unpack .../35-libffi-dev_3.4.6-1_ppc64el.deb ... 451s Unpacking libffi-dev:ppc64el (3.4.6-1) ... 451s Selecting previously unselected package python3-packaging. 451s Preparing to unpack .../36-python3-packaging_23.2-1_all.deb ... 451s Unpacking python3-packaging (23.2-1) ... 451s Selecting previously unselected package libglib2.0-dev-bin. 451s Preparing to unpack .../37-libglib2.0-dev-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 451s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 451s Selecting previously unselected package uuid-dev:ppc64el. 451s Preparing to unpack .../38-uuid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 451s Unpacking uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 451s Selecting previously unselected package libblkid-dev:ppc64el. 451s Preparing to unpack .../39-libblkid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 451s Unpacking libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 451s Selecting previously unselected package libsepol-dev:ppc64el. 451s Preparing to unpack .../40-libsepol-dev_3.5-2_ppc64el.deb ... 451s Unpacking libsepol-dev:ppc64el (3.5-2) ... 451s Selecting previously unselected package libpcre2-16-0:ppc64el. 451s Preparing to unpack .../41-libpcre2-16-0_10.42-4ubuntu1_ppc64el.deb ... 451s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 451s Selecting previously unselected package libpcre2-32-0:ppc64el. 451s Preparing to unpack .../42-libpcre2-32-0_10.42-4ubuntu1_ppc64el.deb ... 451s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 451s Selecting previously unselected package libpcre2-posix3:ppc64el. 451s Preparing to unpack .../43-libpcre2-posix3_10.42-4ubuntu1_ppc64el.deb ... 451s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 451s Selecting previously unselected package libpcre2-dev:ppc64el. 451s Preparing to unpack .../44-libpcre2-dev_10.42-4ubuntu1_ppc64el.deb ... 451s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 451s Selecting previously unselected package libselinux1-dev:ppc64el. 451s Preparing to unpack .../45-libselinux1-dev_3.5-2build1_ppc64el.deb ... 451s Unpacking libselinux1-dev:ppc64el (3.5-2build1) ... 452s Selecting previously unselected package libmount-dev:ppc64el. 452s Preparing to unpack .../46-libmount-dev_2.39.3-6ubuntu2_ppc64el.deb ... 452s Unpacking libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Selecting previously unselected package libpkgconf3:ppc64el. 452s Preparing to unpack .../47-libpkgconf3_1.8.1-2_ppc64el.deb ... 452s Unpacking libpkgconf3:ppc64el (1.8.1-2) ... 452s Selecting previously unselected package pkgconf-bin. 452s Preparing to unpack .../48-pkgconf-bin_1.8.1-2_ppc64el.deb ... 452s Unpacking pkgconf-bin (1.8.1-2) ... 452s Selecting previously unselected package pkgconf:ppc64el. 452s Preparing to unpack .../49-pkgconf_1.8.1-2_ppc64el.deb ... 452s Unpacking pkgconf:ppc64el (1.8.1-2) ... 452s Selecting previously unselected package zlib1g-dev:ppc64el. 452s Preparing to unpack .../50-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_ppc64el.deb ... 452s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 452s Selecting previously unselected package libglib2.0-dev:ppc64el. 452s Preparing to unpack .../51-libglib2.0-dev_2.79.2-1~ubuntu1_ppc64el.deb ... 452s Unpacking libglib2.0-dev:ppc64el (2.79.2-1~ubuntu1) ... 452s Selecting previously unselected package autopkgtest-satdep. 452s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 452s Unpacking autopkgtest-satdep (0) ... 452s Setting up libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 452s Setting up linux-libc-dev:ppc64el (6.8.0-11.11) ... 452s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 452s Setting up libgomp1:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libffi-dev:ppc64el (3.4.6-1) ... 452s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 452s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 452s Setting up python3-packaging (23.2-1) ... 452s Setting up libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 452s Setting up libpkgconf3:ppc64el (1.8.1-2) ... 452s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 452s Setting up libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libmpc3:ppc64el (1.3.1-1) ... 452s Setting up libatomic1:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libsepol-dev:ppc64el (3.5-2) ... 452s Setting up pkgconf-bin (1.8.1-2) ... 452s Setting up libubsan1:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 452s Setting up libnsl-dev:ppc64el (1.3.0-3) ... 452s Setting up libcrypt-dev:ppc64el (1:4.4.36-4) ... 452s Setting up libasan8:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libtsan2:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libisl23:ppc64el (0.26-3) ... 452s Setting up libc-dev-bin (2.39-0ubuntu2) ... 452s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 452s Setting up libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up liblsan0:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libitm1:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 452s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 452s Setting up cpp-13 (13.2.0-17ubuntu2) ... 452s Setting up pkgconf:ppc64el (1.8.1-2) ... 452s Setting up libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 452s Setting up cpp (4:13.2.0-7ubuntu1) ... 452s Setting up libc6-dev:ppc64el (2.39-0ubuntu2) ... 452s Setting up libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 452s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 452s Setting up libselinux1-dev:ppc64el (3.5-2build1) ... 452s Setting up uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 452s Setting up gcc-13 (13.2.0-17ubuntu2) ... 452s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 452s Setting up libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 452s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 452s Setting up libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 452s Setting up g++-13 (13.2.0-17ubuntu2) ... 452s Setting up gcc (4:13.2.0-7ubuntu1) ... 452s Setting up libglib2.0-dev:ppc64el (2.79.2-1~ubuntu1) ... 452s Setting up g++ (4:13.2.0-7ubuntu1) ... 452s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 452s Setting up build-essential (12.10ubuntu1) ... 452s Processing triggers for libc-bin (2.39-0ubuntu2) ... 452s Processing triggers for man-db (2.12.0-3) ... 453s Processing triggers for install-info (7.1-3) ... 453s Processing triggers for libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 453s No schema files found: doing nothing. 453s Setting up autopkgtest-satdep (0) ... 455s (Reading database ... 73484 files and directories currently installed.) 455s Removing autopkgtest-satdep (0) ... 456s autopkgtest [11:43:42]: test build: [----------------------- 456s + mode=dynamic 456s + getopt -o --long static -n debian/tests/build -- 456s + getopt_temp= -- 456s + eval set -- -- 456s + set -- -- 456s + true 456s + shift 456s + break 456s + mktemp -d 456s + WORKDIR=/tmp/tmp.L0CoBTuF8S 456s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 456s + cd /tmp/tmp.L0CoBTuF8S 456s + [ -n ] 456s + CROSS_COMPILE= 456s + cat 456s + cat 456s + cat 456s + cat 456s + cat 456s + cat 456s + cflags= 456s + pcflags= 456s + packages=glib-2.0 456s + pkg-config --cflags --libs glib-2.0 456s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 456s build (glib, dynamic): OK 456s + echo build (glib, dynamic): OK 456s + [ -x glib-dynamic ] 456s + foo=bar ./glib-dynamic 456s run (glib, dynamic): OK 456s + echo run (glib, dynamic): OK 456s + cflags= 456s + pcflags= 456s + packages=gobject-2.0 456s + pkg-config --cflags --libs gobject-2.0 456s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 456s + echo build (gobject, dynamic): OK 456s + [ -x gobject-dynamic ] 456s + foo=bar ./gobject-dynamic 456s build (gobject, dynamic): OK 456s + run (gobject, dynamic): OK 456s echo run (gobject, dynamic): OK 456s + cflags= 456s + pcflags= 456s + packages=gio-2.0 456s + pkg-config --cflags --libs gio-2.0 456s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 456s build (gio, dynamic): OK 456s + echo build (gio, dynamic): OK 456s + [ -x gio-dynamic ] 456s + foo=bar ./gio-dynamic 456s run (gio, dynamic): OK 456s + echo run (gio, dynamic): OK 456s + cflags= 456s + pcflags= 456s + packages=gio-unix-2.0 456s + pkg-config --cflags --libs gio-unix-2.0 456s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 457s + echo build (gio-unix, dynamic): OKbuild (gio-unix, dynamic): OK 457s 457s + [ -x gio-unix-dynamic ] 457s + foo=bar ./gio-unix-dynamic 457s + echo run (gio-unix, dynamic): OK 457s run (gio-unix, dynamic): OK 457s + cflags= 457s + pcflags= 457s + packages=gmodule-2.0 457s + pkg-config --cflags --libs gmodule-2.0 457s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 457s build (gmodule, dynamic): OK 457s + echo build (gmodule, dynamic): OK 457s + [ -x gmodule-dynamic ] 457s + foo=bar ./gmodule-dynamic 457s + echo run (gmodule, dynamic): OK 457s + cflags= 457s + pcflags= 457s + packages=gthread-2.0 457s + pkg-configrun (gmodule, dynamic): OK 457s --cflags --libs gthread-2.0 457s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 457s build (gthread, dynamic): OK 457s + echo build (gthread, dynamic): OK 457s + [ -x gthread-dynamic ] 457s + foo=bar ./gthread-dynamic 457s + echo run (gthread, dynamic): OK 457s + rm -rf /tmp/tmp.L0CoBTuF8S 457s run (gthread, dynamic): OK 457s autopkgtest [11:43:43]: test build: -----------------------] 458s build PASS (superficial) 458s autopkgtest [11:43:44]: test build: - - - - - - - - - - results - - - - - - - - - - 458s autopkgtest [11:43:44]: test build-static: preparing testbed 462s Reading package lists... 462s Building dependency tree... 462s Reading state information... 462s Starting pkgProblemResolver with broken count: 0 462s Starting 2 pkgProblemResolver with broken count: 0 462s Done 462s The following NEW packages will be installed: 462s autopkgtest-satdep 462s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 462s Need to get 0 B/724 B of archives. 462s After this operation, 0 B of additional disk space will be used. 462s Get:1 /tmp/autopkgtest.z8orER/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 463s Selecting previously unselected package autopkgtest-satdep. 463s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73484 files and directories currently installed.) 463s Preparing to unpack .../2-autopkgtest-satdep.deb ... 463s Unpacking autopkgtest-satdep (0) ... 463s Setting up autopkgtest-satdep (0) ... 464s (Reading database ... 73484 files and directories currently installed.) 464s Removing autopkgtest-satdep (0) ... 465s autopkgtest [11:43:51]: test build-static: [----------------------- 465s + mode=dynamic 465s + getopt -o --long static -n debian/tests/build -- --static 465s + getopt_temp= --static -- 465s + eval set -- --static -- 465s + set -- --static -- 465s + true 465s + mode=static 465s + shift 465s + continue 465s + true 465s + shift 465s + break 465s + mktemp -d 465s + WORKDIR=/tmp/tmp.GcJROKsgCa 465s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 465s + cd /tmp/tmp.GcJROKsgCa 465s + [ -n ] 465s + CROSS_COMPILE= 465s + cat 465s + cat 465s + cat 465s + cat 465s + cat 465s + cat 465s + cflags= 465s + pcflags= 465s + packages=glib-2.0 465s + cflags=-static 465s + pcflags=--static 465s + pkg-config --static --cflags --libs glib-2.0 465s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 465s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 465s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 465s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 465s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 465s + echo build (glib, static): OK 465s + [ -x glib-static ] 465s + foo=bar ./glib-static 465s + build (glib, static): OK 465s echo run (glib, static): OK 465s + run (glib, static): OK 465s cflags= 465s + pcflags= 465s + packages=gobject-2.0 465s + cflags=-static 465s + pcflags=--static 465s + pkg-config --static --cflags --libs gobject-2.0 465s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 465s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 465s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 465s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 465s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s + echo build (gobject, static): OK 466s build (gobject, static): OK 466s + [ -x gobject-static ] 466s + foo=bar ./gobject-static 466s + echo run (gobject, static): OK 466s + cflags= 466s + pcflags= 466s + packages=gio-2.0 466s + cflags=-static 466s + pcflags=--static 466s + continue 466s + cflags= 466s + pcflags= 466s + packages=gio-unix-2.0 466s + cflags=-static 466s + pcflags=--static 466s + continue 466s + cflags= 466s + pcflags= 466s + packages=gmodule-2.0 466s + cflags=-static 466s + pcflags=--static 466s + pkg-config --staticrun (gobject, static): OK 466s --cflags --libs gmodule-2.0 466s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 466s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 466s (.text+0x9b8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 466s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s + echo build (gmodule, static): OK 466s + [ -x gmodule-static ] 466s + foo=bar ./gmodule-static 466s build (gmodule, static): OK 466s + echo run (gmodule, static): OKrun (gmodule, static): OK 466s 466s + cflags= 466s + pcflags= 466s + packages=gthread-2.0 466s + cflags=-static 466s + pcflags=--static 466s + pkg-config --static --cflags --libs gthread-2.0 466s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 466s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 466s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 466s build (gthread, static): OK 466s + echo build (gthread, static): OK 466s + [ -x gthread-static ] 466s + foo=bar ./gthread-static 466s run (gthread, static): OK 466s + echo run (gthread, static): OK 466s + rm -rf /tmp/tmp.GcJROKsgCa 466s autopkgtest [11:43:52]: test build-static: -----------------------] 467s autopkgtest [11:43:53]: test build-static: - - - - - - - - - - results - - - - - - - - - - 467s build-static PASS (superficial) 467s autopkgtest [11:43:53]: test installed-tests: preparing testbed 804s autopkgtest [11:49:30]: testbed dpkg architecture: ppc64el 805s autopkgtest [11:49:31]: testbed apt version: 2.7.12 805s autopkgtest [11:49:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup 806s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 806s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 806s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [486 kB] 806s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3768 kB] 809s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.7 kB] 809s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [649 kB] 809s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 809s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 809s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 809s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4045 kB] 811s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 811s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [48.3 kB] 811s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 814s Fetched 9187 kB in 6s (1431 kB/s) 814s Reading package lists... 817s Reading package lists... 817s Building dependency tree... 817s Reading state information... 817s Calculating upgrade... 817s The following packages will be REMOVED: 817s libreadline8 libssl3 817s The following NEW packages will be installed: 817s libreadline8t64 libssl3t64 817s The following packages have been kept back: 817s libpython3.12-minimal libpython3.12-stdlib python3.12 python3.12-minimal 817s The following packages will be upgraded: 817s openssl readline-common 817s 2 upgraded, 2 newly installed, 2 to remove and 4 not upgraded. 817s Need to get 3389 kB of archives. 817s After this operation, 75.8 kB of additional disk space will be used. 817s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el readline-common all 8.2-3.1 [56.4 kB] 817s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libreadline8t64 ppc64el 8.2-3.1 [182 kB] 817s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el openssl ppc64el 3.0.13-0ubuntu2 [1026 kB] 818s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libssl3t64 ppc64el 3.0.13-0ubuntu2 [2125 kB] 818s Fetched 3389 kB in 1s (2804 kB/s) 819s (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 ... 70095 files and directories currently installed.) 819s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 819s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 819s dpkg: libreadline8:ppc64el: dependency problems, but removing anyway as you requested: 819s parted depends on libreadline8 (>= 6.0). 819s libpython3.12-stdlib:ppc64el depends on libreadline8 (>= 7.0~beta). 819s libpython3.11-stdlib:ppc64el depends on libreadline8 (>= 7.0~beta). 819s gpgsm depends on libreadline8 (>= 6.0). 819s gpgconf depends on libreadline8 (>= 6.0). 819s gpg depends on libreadline8 (>= 6.0). 819s gawk depends on libreadline8 (>= 6.0). 819s fdisk depends on libreadline8 (>= 6.0). 819s bc depends on libreadline8 (>= 6.0). 819s 819s (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 ... 70095 files and directories currently installed.) 819s Removing libreadline8:ppc64el (8.2-3) ... 819s Selecting previously unselected package libreadline8t64:ppc64el. 819s (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 ... 70083 files and directories currently installed.) 819s Preparing to unpack .../libreadline8t64_8.2-3.1_ppc64el.deb ... 819s Adding 'diversion of /lib/powerpc64le-linux-gnu/libhistory.so.8 to /lib/powerpc64le-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 819s Adding 'diversion of /lib/powerpc64le-linux-gnu/libhistory.so.8.2 to /lib/powerpc64le-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 819s Adding 'diversion of /lib/powerpc64le-linux-gnu/libreadline.so.8 to /lib/powerpc64le-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 819s Adding 'diversion of /lib/powerpc64le-linux-gnu/libreadline.so.8.2 to /lib/powerpc64le-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 819s Unpacking libreadline8t64:ppc64el (8.2-3.1) ... 819s Preparing to unpack .../openssl_3.0.13-0ubuntu2_ppc64el.deb ... 819s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 819s dpkg: libssl3:ppc64el: dependency problems, but removing anyway as you requested: 819s wget depends on libssl3 (>= 3.0.0). 819s tnftp depends on libssl3 (>= 3.0.0). 819s tcpdump depends on libssl3 (>= 3.0.0). 819s systemd-resolved depends on libssl3 (>= 3.0.0). 819s systemd depends on libssl3 (>= 3.0.0). 819s sudo depends on libssl3 (>= 3.0.0). 819s rsync depends on libssl3 (>= 3.0.0). 819s python3-cryptography depends on libssl3 (>= 3.0.0). 819s openssh-server depends on libssl3 (>= 3.0.10). 819s openssh-client depends on libssl3 (>= 3.0.10). 819s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 819s libsystemd-shared:ppc64el depends on libssl3 (>= 3.0.0). 819s libssh-4:ppc64el depends on libssl3 (>= 3.0.0). 819s libsasl2-modules:ppc64el depends on libssl3 (>= 3.0.0). 819s libsasl2-2:ppc64el depends on libssl3 (>= 3.0.0). 819s libpython3.12-minimal:ppc64el depends on libssl3 (>= 3.0.0). 819s libpython3.11-minimal:ppc64el depends on libssl3 (>= 3.0.0). 819s libnvme1 depends on libssl3 (>= 3.0.0). 819s libkrb5-3:ppc64el depends on libssl3 (>= 3.0.0). 819s libkmod2:ppc64el depends on libssl3 (>= 3.0.0). 819s libfido2-1:ppc64el depends on libssl3 (>= 3.0.0). 819s libcurl4:ppc64el depends on libssl3 (>= 3.0.0). 819s libcryptsetup12:ppc64el depends on libssl3 (>= 3.0.0). 819s kmod depends on libssl3 (>= 3.0.0). 819s dhcpcd-base depends on libssl3 (>= 3.0.0). 819s bind9-libs:ppc64el depends on libssl3 (>= 3.0.0). 819s 819s (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 ... 70103 files and directories currently installed.) 819s Removing libssl3:ppc64el (3.0.10-1ubuntu4) ... 819s Selecting previously unselected package libssl3t64:ppc64el. 819s (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 ... 70092 files and directories currently installed.) 819s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_ppc64el.deb ... 819s Unpacking libssl3t64:ppc64el (3.0.13-0ubuntu2) ... 819s Setting up libssl3t64:ppc64el (3.0.13-0ubuntu2) ... 819s Setting up openssl (3.0.13-0ubuntu2) ... 819s Setting up readline-common (8.2-3.1) ... 819s Setting up libreadline8t64:ppc64el (8.2-3.1) ... 819s Processing triggers for libc-bin (2.39-0ubuntu2) ... 819s Processing triggers for man-db (2.12.0-3) ... 820s Processing triggers for install-info (7.1-3) ... 820s Reading package lists... 820s Building dependency tree... 820s Reading state information... 820s 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 821s sh: Attempting to set up Debian/Ubuntu apt sources automatically 821s sh: Distribution appears to be Ubuntu 822s Reading package lists... 822s Building dependency tree... 822s Reading state information... 822s eatmydata is already the newest version (131-1). 822s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 822s Reading package lists... 822s Building dependency tree... 822s Reading state information... 822s dbus is already the newest version (1.14.10-4ubuntu1). 822s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 822s Reading package lists... 823s Building dependency tree... 823s Reading state information... 823s rng-tools-debian is already the newest version (2.4). 823s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 823s Reading package lists... 823s Building dependency tree... 823s Reading state information... 823s The following packages will be REMOVED: 823s cloud-init* python3-configobj* python3-debconf* 823s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 823s After this operation, 3252 kB disk space will be freed. 823s (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 ... 70105 files and directories currently installed.) 823s Removing cloud-init (24.1.1-0ubuntu1) ... 824s Removing python3-configobj (5.0.8-3) ... 824s Removing python3-debconf (1.5.86) ... 824s Processing triggers for man-db (2.12.0-3) ... 824s (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 ... 69716 files and directories currently installed.) 824s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 825s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 825s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 825s invoke-rc.d: policy-rc.d denied execution of try-restart. 825s Reading package lists... 825s Building dependency tree... 825s Reading state information... 825s linux-generic is already the newest version (6.8.0-11.11+1). 825s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 826s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 826s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 826s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 828s Reading package lists... 828s Reading package lists... 828s Building dependency tree... 828s Reading state information... 829s Calculating upgrade... 829s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 829s Reading package lists... 829s Building dependency tree... 829s Reading state information... 829s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 829s autopkgtest [11:49:55]: rebooting testbed after setup commands that affected boot 1005s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 1016s Reading package lists... 1016s Building dependency tree... 1016s Reading state information... 1016s Starting pkgProblemResolver with broken count: 0 1016s Starting 2 pkgProblemResolver with broken count: 0 1016s Done 1017s The following additional packages will be installed: 1017s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1017s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgirepository-2.0-0 libgl1 1017s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1017s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 1017s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1017s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1017s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1017s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1017s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1017s Suggested packages: 1017s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 1017s Recommended packages: 1017s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 1017s xfonts-base 1017s The following NEW packages will be installed: 1017s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 1017s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 1017s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 1017s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1017s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 1017s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 1017s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 1017s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 1017s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 1017s xvfb 1017s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1017s Need to get 39.4 MB/39.4 MB of archives. 1017s After this operation, 211 MB of additional disk space will be used. 1017s Get:1 /tmp/autopkgtest.z8orER/3-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1017s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu1 [24.4 kB] 1017s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el desktop-file-utils ppc64el 0.26-1ubuntu5 [62.5 kB] 1017s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el gnome-desktop-testing ppc64el 2021.1-3 [16.9 kB] 1017s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-amdgpu1 ppc64el 2.4.120-2 [24.5 kB] 1017s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-nouveau2 ppc64el 2.4.120-2 [21.2 kB] 1017s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-radeon1 ppc64el 2.4.120-2 [30.6 kB] 1017s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libfontenc1 ppc64el 1:1.1.8-1 [15.7 kB] 1017s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libgirepository-2.0-0 ppc64el 2.79.2-1~ubuntu1 [84.4 kB] 1017s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libvulkan1 ppc64el 1.3.275.0-1 [176 kB] 1017s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el libglapi-mesa ppc64el 24.0.1-1ubuntu1 [41.8 kB] 1017s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libllvm17 ppc64el 1:17.0.6-5build1 [27.3 MB] 1020s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] 1020s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1-mesa-dri ppc64el 24.0.1-1ubuntu1 [5885 kB] 1020s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-bin ppc64el 2.79.2-1~ubuntu1 [111 kB] 1020s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 1020s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev-bin ppc64el 2.79.2-1~ubuntu1 [240 kB] 1020s Get:18 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-dbusmock all 0.31.1-1 [85.5 kB] 1020s Get:19 http://ftpmaster.internal/ubuntu noble/universe ppc64el libglib2.0-tests ppc64el 2.79.2-1~ubuntu1 [2183 kB] 1020s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1 [7866 B] 1020s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] 1020s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] 1020s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] 1020s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] 1020s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] 1020s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] 1020s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] 1020s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2 [11.6 kB] 1020s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] 1020s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] 1020s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx-mesa0 ppc64el 24.0.1-1ubuntu1 [160 kB] 1020s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] 1020s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] 1020s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1 [300 kB] 1020s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] 1020s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libunwind8 ppc64el 1.6.2-3 [59.9 kB] 1020s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libxt6 ppc64el 1:1.2.1-1.1 [198 kB] 1020s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libxmu6 ppc64el 2:1.1.3-3 [57.2 kB] 1020s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libxpm4 ppc64el 1:3.5.17-1 [48.6 kB] 1020s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libxaw7 ppc64el 2:1.0.14-1 [227 kB] 1020s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfont2 ppc64el 1:2.0.6-1 [115 kB] 1020s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build3 [89.3 kB] 1020s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] 1020s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2 [22.7 kB] 1020s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-xkb-utils ppc64el 7.7+8 [199 kB] 1020s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 1020s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libglvnd0 ppc64el 1.7.0-1 [84.0 kB] 1020s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx0 ppc64el 1.7.0-1 [42.1 kB] 1021s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1 ppc64el 1.7.0-1 [108 kB] 1021s Get:50 http://ftpmaster.internal/ubuntu noble/universe ppc64el xvfb ppc64el 2:21.1.11-2ubuntu1 [1093 kB] 1021s Fetched 39.4 MB in 4s (10.1 MB/s) 1021s Selecting previously unselected package dbus-x11. 1021s (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 ... 69661 files and directories currently installed.) 1021s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_ppc64el.deb ... 1021s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 1021s Selecting previously unselected package desktop-file-utils. 1021s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_ppc64el.deb ... 1021s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 1021s Selecting previously unselected package gnome-desktop-testing. 1021s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_ppc64el.deb ... 1021s Unpacking gnome-desktop-testing (2021.1-3) ... 1021s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 1021s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_ppc64el.deb ... 1021s Unpacking libdrm-amdgpu1:ppc64el (2.4.120-2) ... 1021s Selecting previously unselected package libdrm-nouveau2:ppc64el. 1021s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_ppc64el.deb ... 1021s Unpacking libdrm-nouveau2:ppc64el (2.4.120-2) ... 1021s Selecting previously unselected package libdrm-radeon1:ppc64el. 1021s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_ppc64el.deb ... 1021s Unpacking libdrm-radeon1:ppc64el (2.4.120-2) ... 1021s Selecting previously unselected package libfontenc1:ppc64el. 1021s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_ppc64el.deb ... 1021s Unpacking libfontenc1:ppc64el (1:1.1.8-1) ... 1021s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 1021s Preparing to unpack .../07-libgirepository-2.0-0_2.79.2-1~ubuntu1_ppc64el.deb ... 1021s Unpacking libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 1021s Selecting previously unselected package libvulkan1:ppc64el. 1021s Preparing to unpack .../08-libvulkan1_1.3.275.0-1_ppc64el.deb ... 1021s Unpacking libvulkan1:ppc64el (1.3.275.0-1) ... 1021s Selecting previously unselected package libglapi-mesa:ppc64el. 1021s Preparing to unpack .../09-libglapi-mesa_24.0.1-1ubuntu1_ppc64el.deb ... 1021s Unpacking libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 1021s Selecting previously unselected package libllvm17:ppc64el. 1021s Preparing to unpack .../10-libllvm17_1%3a17.0.6-5build1_ppc64el.deb ... 1021s Unpacking libllvm17:ppc64el (1:17.0.6-5build1) ... 1022s Selecting previously unselected package libxcb-dri3-0:ppc64el. 1022s Preparing to unpack .../11-libxcb-dri3-0_1.15-1_ppc64el.deb ... 1022s Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... 1022s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 1022s Preparing to unpack .../12-libgl1-mesa-dri_24.0.1-1ubuntu1_ppc64el.deb ... 1022s Unpacking libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 1022s Selecting previously unselected package libglib2.0-bin. 1022s Preparing to unpack .../13-libglib2.0-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 1022s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 1022s Selecting previously unselected package python3-packaging. 1022s Preparing to unpack .../14-python3-packaging_23.2-1_all.deb ... 1022s Unpacking python3-packaging (23.2-1) ... 1022s Selecting previously unselected package libglib2.0-dev-bin. 1022s Preparing to unpack .../15-libglib2.0-dev-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 1022s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 1022s Selecting previously unselected package python3-dbusmock. 1022s Preparing to unpack .../16-python3-dbusmock_0.31.1-1_all.deb ... 1022s Unpacking python3-dbusmock (0.31.1-1) ... 1022s Selecting previously unselected package libglib2.0-tests. 1022s Preparing to unpack .../17-libglib2.0-tests_2.79.2-1~ubuntu1_ppc64el.deb ... 1022s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 1023s Selecting previously unselected package libx11-xcb1:ppc64el. 1023s Preparing to unpack .../18-libx11-xcb1_2%3a1.8.7-1_ppc64el.deb ... 1023s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1) ... 1023s Selecting previously unselected package libxcb-dri2-0:ppc64el. 1023s Preparing to unpack .../19-libxcb-dri2-0_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxcb-glx0:ppc64el. 1023s Preparing to unpack .../20-libxcb-glx0_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-glx0:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxcb-present0:ppc64el. 1023s Preparing to unpack .../21-libxcb-present0_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-present0:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxcb-randr0:ppc64el. 1023s Preparing to unpack .../22-libxcb-randr0_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-randr0:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxcb-shm0:ppc64el. 1023s Preparing to unpack .../23-libxcb-shm0_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-shm0:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxcb-sync1:ppc64el. 1023s Preparing to unpack .../24-libxcb-sync1_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-sync1:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxcb-xfixes0:ppc64el. 1023s Preparing to unpack .../25-libxcb-xfixes0_1.15-1_ppc64el.deb ... 1023s Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... 1023s Selecting previously unselected package libxfixes3:ppc64el. 1023s Preparing to unpack .../26-libxfixes3_1%3a6.0.0-2_ppc64el.deb ... 1023s Unpacking libxfixes3:ppc64el (1:6.0.0-2) ... 1023s Selecting previously unselected package libxshmfence1:ppc64el. 1023s Preparing to unpack .../27-libxshmfence1_1.3-1build4_ppc64el.deb ... 1023s Unpacking libxshmfence1:ppc64el (1.3-1build4) ... 1023s Selecting previously unselected package libxxf86vm1:ppc64el. 1023s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... 1023s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 1023s Selecting previously unselected package libglx-mesa0:ppc64el. 1023s Preparing to unpack .../29-libglx-mesa0_24.0.1-1ubuntu1_ppc64el.deb ... 1023s Unpacking libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 1023s Selecting previously unselected package x11-common. 1023s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu2_all.deb ... 1023s Unpacking x11-common (1:7.7+23ubuntu2) ... 1023s Selecting previously unselected package libice6:ppc64el. 1023s Preparing to unpack .../31-libice6_2%3a1.0.10-1build2_ppc64el.deb ... 1023s Unpacking libice6:ppc64el (2:1.0.10-1build2) ... 1023s Selecting previously unselected package libpixman-1-0:ppc64el. 1023s Preparing to unpack .../32-libpixman-1-0_0.42.2-1_ppc64el.deb ... 1023s Unpacking libpixman-1-0:ppc64el (0.42.2-1) ... 1023s Selecting previously unselected package libsm6:ppc64el. 1023s Preparing to unpack .../33-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... 1023s Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... 1023s Selecting previously unselected package libunwind8:ppc64el. 1023s Preparing to unpack .../34-libunwind8_1.6.2-3_ppc64el.deb ... 1023s Unpacking libunwind8:ppc64el (1.6.2-3) ... 1023s Selecting previously unselected package libxt6:ppc64el. 1023s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_ppc64el.deb ... 1023s Unpacking libxt6:ppc64el (1:1.2.1-1.1) ... 1023s Selecting previously unselected package libxmu6:ppc64el. 1023s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_ppc64el.deb ... 1023s Unpacking libxmu6:ppc64el (2:1.1.3-3) ... 1023s Selecting previously unselected package libxpm4:ppc64el. 1023s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_ppc64el.deb ... 1023s Unpacking libxpm4:ppc64el (1:3.5.17-1) ... 1023s Selecting previously unselected package libxaw7:ppc64el. 1023s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_ppc64el.deb ... 1023s Unpacking libxaw7:ppc64el (2:1.0.14-1) ... 1023s Selecting previously unselected package libxfont2:ppc64el. 1023s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_ppc64el.deb ... 1023s Unpacking libxfont2:ppc64el (1:2.0.6-1) ... 1023s Selecting previously unselected package libxkbfile1:ppc64el. 1023s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_ppc64el.deb ... 1023s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build3) ... 1023s Selecting previously unselected package libxrender1:ppc64el. 1023s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... 1023s Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... 1023s Selecting previously unselected package libxrandr2:ppc64el. 1023s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_ppc64el.deb ... 1023s Unpacking libxrandr2:ppc64el (2:1.5.2-2) ... 1023s Selecting previously unselected package x11-xkb-utils. 1023s Preparing to unpack .../43-x11-xkb-utils_7.7+8_ppc64el.deb ... 1023s Unpacking x11-xkb-utils (7.7+8) ... 1023s Selecting previously unselected package xserver-common. 1023s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 1023s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 1023s Selecting previously unselected package libglvnd0:ppc64el. 1023s Preparing to unpack .../45-libglvnd0_1.7.0-1_ppc64el.deb ... 1023s Unpacking libglvnd0:ppc64el (1.7.0-1) ... 1023s Selecting previously unselected package libglx0:ppc64el. 1023s Preparing to unpack .../46-libglx0_1.7.0-1_ppc64el.deb ... 1023s Unpacking libglx0:ppc64el (1.7.0-1) ... 1023s Selecting previously unselected package libgl1:ppc64el. 1023s Preparing to unpack .../47-libgl1_1.7.0-1_ppc64el.deb ... 1023s Unpacking libgl1:ppc64el (1.7.0-1) ... 1023s Selecting previously unselected package xvfb. 1023s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_ppc64el.deb ... 1023s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 1023s Selecting previously unselected package autopkgtest-satdep. 1023s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 1023s Unpacking autopkgtest-satdep (0) ... 1023s Setting up gnome-desktop-testing (2021.1-3) ... 1023s Setting up libxcb-dri3-0:ppc64el (1.15-1) ... 1023s Setting up libpixman-1-0:ppc64el (0.42.2-1) ... 1023s Setting up libx11-xcb1:ppc64el (2:1.8.7-1) ... 1023s Setting up libdrm-nouveau2:ppc64el (2.4.120-2) ... 1023s Setting up libxcb-xfixes0:ppc64el (1.15-1) ... 1023s Setting up desktop-file-utils (0.26-1ubuntu5) ... 1023s Setting up libxpm4:ppc64el (1:3.5.17-1) ... 1023s Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... 1023s Setting up libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 1023s Setting up libdrm-radeon1:ppc64el (2.4.120-2) ... 1023s Setting up libglvnd0:ppc64el (1.7.0-1) ... 1023s Setting up libxcb-glx0:ppc64el (1.15-1) ... 1023s Setting up x11-common (1:7.7+23ubuntu2) ... 1024s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 1024s Setting up libxcb-shm0:ppc64el (1.15-1) ... 1024s Setting up libunwind8:ppc64el (1.6.2-3) ... 1024s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 1024s Setting up libxcb-present0:ppc64el (1.15-1) ... 1024s Setting up libfontenc1:ppc64el (1:1.1.8-1) ... 1024s Setting up python3-packaging (23.2-1) ... 1024s Setting up libxfixes3:ppc64el (1:6.0.0-2) ... 1024s Setting up libxcb-sync1:ppc64el (1.15-1) ... 1024s Setting up libxrandr2:ppc64el (2:1.5.2-2) ... 1024s Setting up libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 1024s Setting up libvulkan1:ppc64el (1.3.275.0-1) ... 1024s Setting up libxcb-dri2-0:ppc64el (1.15-1) ... 1024s Setting up libxshmfence1:ppc64el (1.3-1build4) ... 1024s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 1024s Setting up libxcb-randr0:ppc64el (1.15-1) ... 1024s Setting up libxkbfile1:ppc64el (1:1.1.0-1build3) ... 1024s Setting up libllvm17:ppc64el (1:17.0.6-5build1) ... 1024s Setting up libxfont2:ppc64el (1:2.0.6-1) ... 1024s Setting up libdrm-amdgpu1:ppc64el (2.4.120-2) ... 1024s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 1024s Setting up libice6:ppc64el (2:1.0.10-1build2) ... 1024s Setting up libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 1024s Setting up python3-dbusmock (0.31.1-1) ... 1024s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 1024s Setting up libsm6:ppc64el (2:1.2.3-1build2) ... 1024s Setting up libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 1024s Setting up libglx0:ppc64el (1.7.0-1) ... 1024s Setting up libgl1:ppc64el (1.7.0-1) ... 1024s Setting up libxt6:ppc64el (1:1.2.1-1.1) ... 1024s Setting up libxmu6:ppc64el (2:1.1.3-3) ... 1024s Setting up libxaw7:ppc64el (2:1.0.14-1) ... 1024s Setting up x11-xkb-utils (7.7+8) ... 1024s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 1024s Setting up xvfb (2:21.1.11-2ubuntu1) ... 1024s Setting up autopkgtest-satdep (0) ... 1024s Processing triggers for man-db (2.12.0-3) ... 1025s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1028s (Reading database ... 71100 files and directories currently installed.) 1028s Removing autopkgtest-satdep (0) ... 1059s autopkgtest [11:53:45]: test installed-tests: [----------------------- 1060s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1060s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1060s group entry: ubuntu:x:1000: 1060s Environment: 1060s ADTTMP=/tmp/autopkgtest.z8orER/autopkgtest_tmp 1060s ADT_ARTIFACTS=/tmp/autopkgtest.z8orER/installed-tests-artifacts 1060s ADT_TEST_TRIGGERS=python3.12/3.12.2-4build3 db5.3/5.3.28+dfsg2-5build1 openssl/3.0.13-0ubuntu2 readline/8.2-3.1 1060s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.z8orER/installed-tests-artifacts 1060s AUTOPKGTEST_TESTBED_ARCH=ppc64el 1060s AUTOPKGTEST_TEST_ARCH=ppc64el 1060s AUTOPKGTEST_TMP=/tmp/autopkgtest.z8orER/autopkgtest_tmp 1060s DEBIAN_FRONTEND=noninteractive 1060s DEB_BUILD_OPTIONS=parallel=1 1060s GIO_USE_VFS=local 1060s GIO_USE_VOLUME_MONITOR=unix 1060s HOME=/home/ubuntu 1060s LANG=C.UTF-8 1060s LOGNAME=ubuntu 1060s MAIL=/var/mail/ubuntu 1060s OLDPWD=/home/ubuntu 1060s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1060s PWD=/tmp/autopkgtest.z8orER/build.fMS/src 1060s SHELL=/bin/bash 1060s SHLVL=1 1060s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests 1060s SUDO_GID=1000 1060s SUDO_UID=1000 1060s SUDO_USER=ubuntu 1060s TERM=linux 1060s USER=ubuntu 1060s XDG_RUNTIME_DIR=/tmp/autopkgtest.z8orER/autopkgtest_tmp 1060s http_proxy=http://squid.internal:3128 1060s https_proxy=http://squid.internal:3128 1060s no_proxy=127.0.0.1,127.0.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 1060s run-with-locales: de_DE=ISO-8859-1... 1060s Character set: ISO-8859-1 1060s Source file: de_DE 1060s Output: /tmp/tmp.0DrsVp5i5o/de_DE 1060s run-with-locales: de_DE.utf8... 1060s Character set: UTF-8 1060s Source file: de_DE 1060s Output: /tmp/tmp.0DrsVp5i5o/de_DE.utf8 1061s run-with-locales: de_DE@euro.utf8... 1061s Character set: UTF-8 1061s Source file: de_DE@euro 1061s Output: /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8 1063s run-with-locales: el_GR.utf8... 1063s Character set: UTF-8 1063s Source file: el_GR 1063s Output: /tmp/tmp.0DrsVp5i5o/el_GR.utf8 1064s run-with-locales: en_GB=ISO-8859-1... 1064s Character set: ISO-8859-1 1064s Source file: en_GB 1064s Output: /tmp/tmp.0DrsVp5i5o/en_GB 1065s run-with-locales: en_GB.utf8... 1065s Character set: UTF-8 1065s Source file: en_GB 1065s Output: /tmp/tmp.0DrsVp5i5o/en_GB.utf8 1066s run-with-locales: en_US=ISO-8859-1... 1066s Character set: ISO-8859-1 1066s Source file: en_US 1066s Output: /tmp/tmp.0DrsVp5i5o/en_US 1066s run-with-locales: en_US.utf8... 1066s Character set: UTF-8 1066s Source file: en_US 1066s Output: /tmp/tmp.0DrsVp5i5o/en_US.utf8 1068s run-with-locales: es_ES.utf8... 1068s Character set: UTF-8 1068s Source file: es_ES 1068s Output: /tmp/tmp.0DrsVp5i5o/es_ES.utf8 1069s run-with-locales: fa_IR=UTF-8... 1069s Character set: UTF-8 1069s Source file: fa_IR 1069s Output: /tmp/tmp.0DrsVp5i5o/fa_IR 1071s run-with-locales: fa_IR.utf8... 1071s Character set: UTF-8 1071s Source file: fa_IR 1071s Output: /tmp/tmp.0DrsVp5i5o/fa_IR.utf8 1072s run-with-locales: fr_FR.utf8... 1072s Character set: UTF-8 1072s Source file: fr_FR 1072s Output: /tmp/tmp.0DrsVp5i5o/fr_FR.utf8 1073s run-with-locales: hr_HR.utf8... 1073s Character set: UTF-8 1073s Source file: hr_HR 1073s Output: /tmp/tmp.0DrsVp5i5o/hr_HR.utf8 1075s run-with-locales: ja_JP.utf8... 1075s Character set: UTF-8 1075s Source file: ja_JP 1075s Output: /tmp/tmp.0DrsVp5i5o/ja_JP.utf8 1075s run-with-locales: ja_JP.EUC-JP... 1075s Character set: EUC-JP 1075s Source file: ja_JP 1075s Output: /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp 1076s run-with-locales: lt_LT.utf8... 1076s Character set: UTF-8 1076s Source file: lt_LT 1076s Output: /tmp/tmp.0DrsVp5i5o/lt_LT.utf8 1077s run-with-locales: pl_PL=ISO-8859-2... 1077s Character set: ISO-8859-2 1077s Source file: pl_PL 1077s Output: /tmp/tmp.0DrsVp5i5o/pl_PL 1078s run-with-locales: pl_PL.ISO-8859-2... 1078s Character set: ISO-8859-2 1078s Source file: pl_PL 1078s Output: /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592 1078s run-with-locales: pl_PL.utf8... 1078s Character set: UTF-8 1078s Source file: pl_PL 1078s Output: /tmp/tmp.0DrsVp5i5o/pl_PL.utf8 1079s run-with-locales: ru_RU=ISO-8859-5... 1079s Character set: ISO-8859-5 1079s Source file: ru_RU 1079s Output: /tmp/tmp.0DrsVp5i5o/ru_RU 1080s run-with-locales: ru_RU.utf8... 1080s Character set: UTF-8 1080s Source file: ru_RU 1080s Output: /tmp/tmp.0DrsVp5i5o/ru_RU.utf8 1081s run-with-locales: sr_RS=UTF-8... 1081s Character set: UTF-8 1081s Source file: sr_RS 1081s Output: /tmp/tmp.0DrsVp5i5o/sr_RS 1083s run-with-locales: sr_RS@latin=UTF-8... 1083s Character set: UTF-8 1083s Source file: sr_RS@latin 1083s Output: /tmp/tmp.0DrsVp5i5o/sr_RS@latin 1084s run-with-locales: sv_SE=ISO-8859-1... 1084s Character set: ISO-8859-1 1084s Source file: sv_SE 1084s Output: /tmp/tmp.0DrsVp5i5o/sv_SE 1084s run-with-locales: sv_SE.utf8... 1084s Character set: UTF-8 1084s Source file: sv_SE 1084s Output: /tmp/tmp.0DrsVp5i5o/sv_SE.utf8 1086s run-with-locales: tr_TR=ISO-8859-9... 1086s Character set: ISO-8859-9 1086s Source file: tr_TR 1086s Output: /tmp/tmp.0DrsVp5i5o/tr_TR 1086s run-with-locales: tr_TR.utf8... 1086s Character set: UTF-8 1086s Source file: tr_TR 1086s Output: /tmp/tmp.0DrsVp5i5o/tr_TR.utf8 1087s run-with-locales: tt_RU=UTF-8... 1087s Character set: UTF-8 1087s Source file: tt_RU 1087s Output: /tmp/tmp.0DrsVp5i5o/tt_RU 1089s run-with-locales: tt_RU.utf8... 1089s Character set: UTF-8 1089s Source file: tt_RU 1089s Output: /tmp/tmp.0DrsVp5i5o/tt_RU.utf8 1090s run-with-locales: tt_RU@iqtelif=UTF-8... 1090s Character set: UTF-8 1090s Source file: tt_RU@iqtelif 1090s Output: /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif 1092s /tmp/tmp.0DrsVp5i5o 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_GB 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_US 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ru_RU 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sv_SE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/fa_IR 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/de_DE 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tr_TR 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sr_RS 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/pl_PL 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tt_RU 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_MONETARY 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_NUMERIC 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_CTYPE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_NAME 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_ADDRESS 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_IDENTIFICATION 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_COLLATE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_TELEPHONE 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_PAPER 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_MEASUREMENT 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_TIME 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_MESSAGES 1092s /tmp/tmp.0DrsVp5i5o/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1092s 1..315 1092s # Running test: glib/timer.test 1092s TAP version 13 1092s # random seed: R02Sd3f593f01724229d273b86add50447c0 1092s 1..10 1092s # Start of timer tests 1092s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1092s ok 2 /timer/stop 1092s ok 3 /timer/continue 1092s ok 4 /timer/reset 1092s ok 5 /timer/is_active 1092s # End of timer tests 1092s # Start of timeval tests 1092s ok 6 /timeval/add 1092s ok 7 /timeval/from-iso8601 1092s ok 8 /timeval/to-iso8601 1092s # Start of to-iso8601 tests 1092s ok 9 /timeval/to-iso8601/overflow 1092s # End of to-iso8601 tests 1092s # End of timeval tests 1092s # Start of usleep tests 1092s ok 10 /usleep/with-zero-wait 1092s # End of usleep tests 1092s ok - glib/timer.test 1092s # Running test: glib/thread-pool.test 1092s TAP version 13 1092s # random seed: R02S029d49eaf35f39f330b3a76c7fdeefda 1092s 1..5 1092s # Start of thread_pool tests 1092s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1092s ok 1 /thread_pool/shared 1092s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1092s ok 2 /thread_pool/exclusive 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1092s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1092s ok 3 /thread_pool/create_shared_after_exclusive 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1092s ok 4 /thread_pool/create_full 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1092s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1092s ok 5 /thread_pool/create_exclusive_after_shared 1092s # End of thread_pool tests 1092s ok - glib/thread-pool.test 1092s # Running test: glib/gdbus-serialization.test 1092s TAP version 13 1092s # random seed: R02S49f0f00cac1f62506ee41dfe7fdcb829 1092s 1..18 1092s # Start of gdbus tests 1092s # Start of message-serialize tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/basic/.dirs/runtime 1092s ok 1 /gdbus/message-serialize/basic 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/complex/.dirs/runtime 1092s ok 2 /gdbus/message-serialize/complex 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/invalid/.dirs/runtime 1092s ok 3 /gdbus/message-serialize/invalid 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/.dirs/runtime 1092s ok 4 /gdbus/message-serialize/header-checks 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/double-array/.dirs/runtime 1092s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1092s ok 5 /gdbus/message-serialize/double-array 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/empty-structure/.dirs/runtime 1092s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1092s ok 6 /gdbus/message-serialize/empty-structure 1092s # Start of header-checks tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1092s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1092s ok 7 /gdbus/message-serialize/header-checks/valid 1092s # End of header-checks tests 1092s # End of message-serialize tests 1092s # Start of message-parse tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1092s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1092s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/non-signature-header/.dirs/runtime 1092s ok 9 /gdbus/message-parse/non-signature-header 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1092s ok 10 /gdbus/message-parse/empty-signature-header 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1092s ok 11 /gdbus/message-parse/multiple-signature-header 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1092s ok 12 /gdbus/message-parse/over-long-signature-header 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1092s ok 13 /gdbus/message-parse/deep-header-nesting 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1092s ok 14 /gdbus/message-parse/deep-body-nesting 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/truncated/.dirs/runtime 1092s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1092s ok 15 /gdbus/message-parse/truncated 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/empty-structure/.dirs/runtime 1092s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1092s ok 16 /gdbus/message-parse/empty-structure 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/missing-header/.dirs/runtime 1092s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1092s ok 17 /gdbus/message-parse/missing-header 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_QUXTK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1092s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1092s ok 18 /gdbus/message-parse/invalid-header-type 1092s # End of message-parse tests 1092s # End of gdbus tests 1092s ok - glib/gdbus-serialization.test 1092s # Running test: glib/signals-refcount4.test 1092s TAP version 13 1092s # random seed: R02S97d1094271d12aabbe9e7a14ffc4108f 1092s 1..1 1092s # Start of gobject tests 1092s # Start of refcount tests 1092s # init 0xd1ba556f420 1092s # 1092s # init 0xd1ba556f5c0 1092s # 1097s # dispose 0xd1ba556f420! 1097s # 1097s # dispose 0xd1ba556f5c0! 1097s # 1097s ok 1 /gobject/refcount/signals 1097s # slow test /gobject/refcount/signals executed in 5.00 secs 1097s # End of refcount tests 1097s # End of gobject tests 1097s ok - glib/signals-refcount4.test 1097s # Running test: glib/mount-operation.test 1097s TAP version 13 1097s # random seed: R02S2d22f62d09dbaa9f99be8a4e3c192432 1097s 1..2 1097s # Start of mount-operation tests 1097s ok 1 /mount-operation/construction 1097s ok 2 /mount-operation/properties 1097s # End of mount-operation tests 1097s ok - glib/mount-operation.test 1097s # Running test: glib/gdbus-connection.test 1097s TAP version 13 1097s # random seed: R02S5b826a2b56ec29fa8a89e818d986fc7d 1097s 1..9 1097s # Start of gdbus tests 1097s # Start of connection tests 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/bus-failure/.dirs/runtime 1097s ok 1 /gdbus/connection/bus-failure 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/basic/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 2 /gdbus/connection/basic 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/life-cycle/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 3 /gdbus/connection/life-cycle 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/send/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 4 /gdbus/connection/send 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signals/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 5 /gdbus/connection/signals 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/signal-match-rules/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 6 /gdbus/connection/signal-match-rules 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/filter/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 7 /gdbus/connection/filter 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/serials/.dirs/runtime 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 8 /gdbus/connection/serials 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMLUK2/gdbus/connection/cancel/.dirs/runtime 1097s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 9 /gdbus/connection/cancel 1097s # End of connection tests 1097s # End of gdbus tests 1097s ok - glib/gdbus-connection.test 1097s # Running test: glib/properties-refcount1.test 1097s TAP version 13 1097s # random seed: R02S078787635dea22ae6897e9a68e336721 1097s 1..1 1097s # Start of gobject tests 1097s # Start of refcount tests 1097s # .b 1097s # .e 1097s # .d 1097s # .f 1097s # .c 1097s # .d 1097s # .e 1097s # .c 1097s # .b 1097s # .f 1097s # .e 1097s # .d 1097s # Executing: glib/properties-refcount1.test 1097s # .b 1097s # .f 1097s # .c 1097s # .d 1097s # .b 1097s # .e 1097s # .c 1097s # .f 1098s # .d 1098s # .e 1098s # .b 1098s # .c 1098s # .f 1098s # .d 1098s # .e 1098s # .b 1098s # .c 1098s # .f 1098s # .d 1098s # .b 1098s # .e 1098s # .c 1098s # .f 1098s # .d 1098s # .e 1098s # .c 1098s # .b 1098s # .f 1098s # .d 1098s # .e 1098s # .b 1098s # .f 1098s # .c 1098s # .d 1099s # .e 1099s # .b 1099s # .f 1099s # .c 1099s # .d 1099s # .e 1099s # .b 1099s # .f 1099s # .c 1099s # .d 1099s # .e 1099s # .b 1099s # .f 1099s # .c 1099s # .e 1099s # .d 1099s # .f 1099s # .b 1099s # .c 1099s # .e 1099s # .f 1099s # .b 1099s # .d 1099s # .c 1099s # .e 1099s # .d 1099s # .b 1099s # .f 1099s # .c 1100s # .e 1100s # .d 1100s # .b 1100s # .c 1100s # .f 1100s # .e 1100s ok 1 /gobject/refcount/properties-1 1100s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1100s # End of refcount tests 1100s # End of gobject tests 1100s ok - glib/properties-refcount1.test 1100s # Running test: glib/signal-handler.test 1100s TAP version 13 1100s # random seed: R02S2ba241f4641ab1ff72b67a34b7bc71a9 1100s 1..7 1100s # Start of signal tests 1100s # Start of handler tests 1100s # min perf: connected 1 handlers in 0.000 seconds 1100s ok 1 /signal/handler/connect-many 1100s # min perf: disconnected 1 handlers in 0.000 seconds 1100s ok 2 /signal/handler/disconnect-many-ordered 1100s # min perf: disconnected 1 handlers in 0.000 seconds 1100s ok 3 /signal/handler/disconnect-many-inverse 1100s # min perf: disconnected 1 handlers in 0.000 seconds 1100s ok 4 /signal/handler/disconnect-many-random 1100s # min perf: disconnected 1 handlers in 0.000 seconds 1100s ok 5 /signal/handler/disconnect-2-signals 1100s # min perf: disconnected 1 handlers in 0.000 seconds 1100s ok 6 /signal/handler/disconnect-2-objects 1100s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1100s ok 7 /signal/handler/block-many 1100s # End of handler tests 1100s # End of signal tests 1100s ok - glib/signal-handler.test 1100s # Running test: glib/simple-async-result.test 1100s TAP version 13 1100s # random seed: R02S66996391af4ef831664d2cbc7bf16fd0 1100s 1..2 1100s # Start of gio tests 1100s # Start of simple-async-result tests 1100s ok 1 /gio/simple-async-result/test 1100s # GLib-GIO-DEBUG: GTask 0x4f809e006e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1100s ok 2 /gio/simple-async-result/valid 1100s # End of simple-async-result tests 1100s # End of gio tests 1100s ok - glib/simple-async-result.test 1100s # Running test: glib/tree.test 1100s TAP version 13 1100s # random seed: R02S58b6d090c3287b8530f91edbefdf0b56 1100s 1..7 1100s # Start of tree tests 1100s ok 1 /tree/search 1100s ok 2 /tree/remove 1100s ok 3 /tree/destroy 1100s ok 4 /tree/traverse 1100s ok 5 /tree/insert 1100s ok 6 /tree/bounds 1100s ok 7 /tree/remove-all 1100s # End of tree tests 1100s ok - glib/tree.test 1100s # Running test: glib/gdbus-introspection.test 1100s TAP version 13 1100s # random seed: R02Sb90d5c0c28738ea4682ac66b6e719c14 1100s 1..4 1100s # Start of gdbus tests 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-parser/.dirs/runtime 1100s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1100s ok 1 /gdbus/introspection-parser 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-generate/.dirs/runtime 1100s ok 2 /gdbus/introspection-generate 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-default-direction/.dirs/runtime 1100s ok 3 /gdbus/introspection-default-direction 1100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/home 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/cache 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/system-config2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/config 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/system-data2 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/data 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/state 1100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CAJWK2/gdbus/introspection-extra-data/.dirs/runtime 1100s ok 4 /gdbus/introspection-extra-data 1100s # End of gdbus tests 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1100s ok - glib/gdbus-introspection.test 1100s # Running test: glib/cancellable.test 1100s TAP version 13 1100s # random seed: R02Sa24a3c06f15cec553c07d92f9185c4b7 1100s 1..10 1100s # Start of cancellable tests 1100s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1100s ok 2 /cancellable/null 1100s # /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 1100s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1100s # /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 1100s ok 4 /cancellable/resets-on-cancel-callback-hangs 1100s ok 5 /cancellable/poll-fd 1100s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1100s ok 6 /cancellable/poll-fd-cancelled 1100s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1100s ok 7 /cancellable/poll-fd-cancelled-threaded 1100s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1100s ok 8 /cancellable/cancel-reset-races 1100s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1100s ok 9 /cancellable/cancel-reset-connect-races 1100s # End of cancellable tests 1100s # Start of cancellable-source tests 1100s # /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) 1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1101s ok 10 /cancellable-source/threaded-dispose 1101s # slow test /cancellable-source/threaded-dispose executed in 1.03 secs 1101s # End of cancellable-source tests 1101s ok - glib/cancellable.test 1101s # Running test: glib/dataset.test 1101s TAP version 13 1101s # random seed: R02Sbeee1d179da9674b5600bacf7e189181 1101s 1..14 1101s # Start of quark tests 1101s ok 1 /quark/basic 1101s ok 2 /quark/string 1101s # End of quark tests 1101s # Start of dataset tests 1101s ok 3 /dataset/basic 1101s ok 4 /dataset/id 1101s ok 5 /dataset/full 1101s ok 6 /dataset/foreach 1101s ok 7 /dataset/destroy 1101s # End of dataset tests 1101s # Start of datalist tests 1101s ok 8 /datalist/basic 1101s ok 9 /datalist/id 1101s ok 10 /datalist/recursive-clear 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1101s ok 11 /datalist/id-remove-multiple 1101s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1101s ok 12 /datalist/id-remove-multiple-destroy-order 1101s ok 13 /datalist/update-atomic 1101s # Start of id-remove-multiple tests 1101s ok 14 /datalist/id-remove-multiple/resize 1101s # End of id-remove-multiple tests 1101s # End of datalist tests 1101s ok - glib/dataset.test 1101s # Running test: glib/checksum.test 1101s TAP version 13 1101s # random seed: R02S13828e27c7f23c523f17912bbcb80420 1101s 1..1851 1101s # Start of checksum tests 1101s ok 1 /checksum/unsupported 1101s # Start of MD5 tests 1101s ok 2 /checksum/MD5/0 1101s ok 3 /checksum/MD5/1 1101s ok 4 /checksum/MD5/2 1101s ok 5 /checksum/MD5/3 1101s ok 6 /checksum/MD5/4 1101s ok 7 /checksum/MD5/5 1101s ok 8 /checksum/MD5/6 1101s ok 9 /checksum/MD5/7 1101s ok 10 /checksum/MD5/8 1101s ok 11 /checksum/MD5/9 1101s ok 12 /checksum/MD5/10 1101s ok 13 /checksum/MD5/11 1101s ok 14 /checksum/MD5/12 1101s ok 15 /checksum/MD5/13 1101s ok 16 /checksum/MD5/14 1101s ok 17 /checksum/MD5/15 1101s ok 18 /checksum/MD5/16 1101s ok 19 /checksum/MD5/17 1101s ok 20 /checksum/MD5/18 1101s ok 21 /checksum/MD5/19 1101s ok 22 /checksum/MD5/20 1101s ok 23 /checksum/MD5/21 1101s ok 24 /checksum/MD5/22 1101s ok 25 /checksum/MD5/23 1101s ok 26 /checksum/MD5/24 1101s ok 27 /checksum/MD5/25 1101s ok 28 /checksum/MD5/26 1101s ok 29 /checksum/MD5/27 1101s ok 30 /checksum/MD5/28 1101s ok 31 /checksum/MD5/29 1101s ok 32 /checksum/MD5/30 1101s ok 33 /checksum/MD5/31 1101s ok 34 /checksum/MD5/32 1101s ok 35 /checksum/MD5/33 1101s ok 36 /checksum/MD5/34 1101s ok 37 /checksum/MD5/35 1101s ok 38 /checksum/MD5/36 1101s ok 39 /checksum/MD5/37 1101s ok 40 /checksum/MD5/38 1101s ok 41 /checksum/MD5/39 1101s ok 42 /checksum/MD5/40 1101s ok 43 /checksum/MD5/41 1101s ok 44 /checksum/MD5/42 1101s ok 45 /checksum/MD5/43 1101s ok 46 /checksum/MD5/44 1101s ok 47 /checksum/MD5/45 1101s ok 48 /checksum/MD5/46 1101s ok 49 /checksum/MD5/47 1101s ok 50 /checksum/MD5/48 1101s ok 51 /checksum/MD5/49 1101s ok 52 /checksum/MD5/50 1101s ok 53 /checksum/MD5/51 1101s ok 54 /checksum/MD5/52 1101s ok 55 /checksum/MD5/53 1101s ok 56 /checksum/MD5/54 1101s ok 57 /checksum/MD5/55 1101s ok 58 /checksum/MD5/56 1101s ok 59 /checksum/MD5/57 1101s ok 60 /checksum/MD5/58 1101s ok 61 /checksum/MD5/59 1101s ok 62 /checksum/MD5/60 1101s ok 63 /checksum/MD5/61 1101s ok 64 /checksum/MD5/62 1101s ok 65 /checksum/MD5/63 1101s ok 66 /checksum/MD5/64 1101s ok 67 /checksum/MD5/65 1101s ok 68 /checksum/MD5/66 1101s ok 69 /checksum/MD5/67 1101s ok 70 /checksum/MD5/68 1101s ok 71 /checksum/MD5/69 1101s ok 72 /checksum/MD5/70 1101s ok 73 /checksum/MD5/71 1101s ok 74 /checksum/MD5/72 1101s ok 75 /checksum/MD5/73 1101s ok 76 /checksum/MD5/74 1101s ok 77 /checksum/MD5/75 1101s ok 78 /checksum/MD5/76 1101s ok 79 /checksum/MD5/77 1101s ok 80 /checksum/MD5/78 1101s ok 81 /checksum/MD5/79 1101s ok 82 /checksum/MD5/80 1101s ok 83 /checksum/MD5/81 1101s ok 84 /checksum/MD5/82 1101s ok 85 /checksum/MD5/83 1101s ok 86 /checksum/MD5/84 1101s ok 87 /checksum/MD5/85 1101s ok 88 /checksum/MD5/86 1101s ok 89 /checksum/MD5/87 1101s ok 90 /checksum/MD5/88 1101s ok 91 /checksum/MD5/89 1101s ok 92 /checksum/MD5/90 1101s ok 93 /checksum/MD5/91 1101s ok 94 /checksum/MD5/92 1101s ok 95 /checksum/MD5/93 1101s ok 96 /checksum/MD5/94 1101s ok 97 /checksum/MD5/95 1101s ok 98 /checksum/MD5/96 1101s ok 99 /checksum/MD5/97 1101s ok 100 /checksum/MD5/98 1101s ok 101 /checksum/MD5/99 1101s ok 102 /checksum/MD5/100 1101s ok 103 /checksum/MD5/101 1101s ok 104 /checksum/MD5/102 1101s ok 105 /checksum/MD5/103 1101s ok 106 /checksum/MD5/104 1101s ok 107 /checksum/MD5/105 1101s ok 108 /checksum/MD5/106 1101s ok 109 /checksum/MD5/107 1101s ok 110 /checksum/MD5/108 1101s ok 111 /checksum/MD5/109 1101s ok 112 /checksum/MD5/110 1101s ok 113 /checksum/MD5/111 1101s ok 114 /checksum/MD5/112 1101s ok 115 /checksum/MD5/113 1101s ok 116 /checksum/MD5/114 1101s ok 117 /checksum/MD5/115 1101s ok 118 /checksum/MD5/116 1101s ok 119 /checksum/MD5/117 1101s ok 120 /checksum/MD5/118 1101s ok 121 /checksum/MD5/119 1101s ok 122 /checksum/MD5/120 1101s ok 123 /checksum/MD5/121 1101s ok 124 /checksum/MD5/122 1101s ok 125 /checksum/MD5/123 1101s ok 126 /checksum/MD5/124 1101s ok 127 /checksum/MD5/125 1101s ok 128 /checksum/MD5/126 1101s ok 129 /checksum/MD5/127 1101s ok 130 /checksum/MD5/128 1101s ok 131 /checksum/MD5/129 1101s ok 132 /checksum/MD5/130 1101s ok 133 /checksum/MD5/131 1101s ok 134 /checksum/MD5/132 1101s ok 135 /checksum/MD5/133 1101s ok 136 /checksum/MD5/134 1101s ok 137 /checksum/MD5/135 1101s ok 138 /checksum/MD5/136 1101s ok 139 /checksum/MD5/137 1101s ok 140 /checksum/MD5/138 1101s ok 141 /checksum/MD5/139 1101s ok 142 /checksum/MD5/140 1101s ok 143 /checksum/MD5/141 1101s ok 144 /checksum/MD5/142 1101s ok 145 /checksum/MD5/143 1101s ok 146 /checksum/MD5/144 1101s ok 147 /checksum/MD5/145 1101s ok 148 /checksum/MD5/146 1101s ok 149 /checksum/MD5/147 1101s ok 150 /checksum/MD5/148 1101s ok 151 /checksum/MD5/149 1101s ok 152 /checksum/MD5/150 1101s ok 153 /checksum/MD5/151 1101s ok 154 /checksum/MD5/152 1101s ok 155 /checksum/MD5/153 1101s ok 156 /checksum/MD5/154 1101s ok 157 /checksum/MD5/155 1101s ok 158 /checksum/MD5/156 1101s ok 159 /checksum/MD5/157 1101s ok 160 /checksum/MD5/158 1101s ok 161 /checksum/MD5/159 1101s ok 162 /checksum/MD5/160 1101s ok 163 /checksum/MD5/161 1101s ok 164 /checksum/MD5/162 1101s ok 165 /checksum/MD5/163 1101s ok 166 /checksum/MD5/164 1101s ok 167 /checksum/MD5/165 1101s ok 168 /checksum/MD5/166 1101s ok 169 /checksum/MD5/167 1101s ok 170 /checksum/MD5/168 1101s ok 171 /checksum/MD5/169 1101s ok 172 /checksum/MD5/170 1101s ok 173 /checksum/MD5/171 1101s ok 174 /checksum/MD5/172 1101s ok 175 /checksum/MD5/173 1101s ok 176 /checksum/MD5/174 1101s ok 177 /checksum/MD5/175 1101s ok 178 /checksum/MD5/176 1101s ok 179 /checksum/MD5/177 1101s ok 180 /checksum/MD5/178 1101s ok 181 /checksum/MD5/179 1101s ok 182 /checksum/MD5/180 1101s ok 183 /checksum/MD5/181 1101s ok 184 /checksum/MD5/182 1101s ok 185 /checksum/MD5/183 1101s ok 186 /checksum/MD5/string 1101s ok 187 /checksum/MD5/bytes 1101s # Start of reset tests 1101s ok 188 /checksum/MD5/reset/0 1101s ok 189 /checksum/MD5/reset/1 1101s ok 190 /checksum/MD5/reset/2 1101s ok 191 /checksum/MD5/reset/3 1101s ok 192 /checksum/MD5/reset/4 1101s ok 193 /checksum/MD5/reset/5 1101s ok 194 /checksum/MD5/reset/6 1101s ok 195 /checksum/MD5/reset/7 1101s ok 196 /checksum/MD5/reset/8 1101s ok 197 /checksum/MD5/reset/9 1101s ok 198 /checksum/MD5/reset/10 1101s ok 199 /checksum/MD5/reset/11 1101s ok 200 /checksum/MD5/reset/12 1101s ok 201 /checksum/MD5/reset/13 1101s ok 202 /checksum/MD5/reset/14 1101s ok 203 /checksum/MD5/reset/15 1101s ok 204 /checksum/MD5/reset/16 1101s ok 205 /checksum/MD5/reset/17 1101s ok 206 /checksum/MD5/reset/18 1101s ok 207 /checksum/MD5/reset/19 1101s ok 208 /checksum/MD5/reset/20 1101s ok 209 /checksum/MD5/reset/21 1101s ok 210 /checksum/MD5/reset/22 1101s ok 211 /checksum/MD5/reset/23 1101s ok 212 /checksum/MD5/reset/24 1101s ok 213 /checksum/MD5/reset/25 1101s ok 214 /checksum/MD5/reset/26 1101s ok 215 /checksum/MD5/reset/27 1101s ok 216 /checksum/MD5/reset/28 1101s ok 217 /checksum/MD5/reset/29 1101s ok 218 /checksum/MD5/reset/30 1101s ok 219 /checksum/MD5/reset/31 1101s ok 220 /checksum/MD5/reset/32 1101s ok 221 /checksum/MD5/reset/33 1101s ok 222 /checksum/MD5/reset/34 1101s ok 223 /checksum/MD5/reset/35 1101s ok 224 /checksum/MD5/reset/36 1101s ok 225 /checksum/MD5/reset/37 1101s ok 226 /checksum/MD5/reset/38 1101s ok 227 /checksum/MD5/reset/39 1101s ok 228 /checksum/MD5/reset/40 1101s ok 229 /checksum/MD5/reset/41 1101s ok 230 /checksum/MD5/reset/42 1101s ok 231 /checksum/MD5/reset/43 1101s ok 232 /checksum/MD5/reset/44 1101s ok 233 /checksum/MD5/reset/45 1101s ok 234 /checksum/MD5/reset/46 1101s ok 235 /checksum/MD5/reset/47 1101s ok 236 /checksum/MD5/reset/48 1101s ok 237 /checksum/MD5/reset/49 1101s ok 238 /checksum/MD5/reset/50 1101s ok 239 /checksum/MD5/reset/51 1101s ok 240 /checksum/MD5/reset/52 1101s ok 241 /checksum/MD5/reset/53 1101s ok 242 /checksum/MD5/reset/54 1101s ok 243 /checksum/MD5/reset/55 1101s ok 244 /checksum/MD5/reset/56 1101s ok 245 /checksum/MD5/reset/57 1101s ok 246 /checksum/MD5/reset/58 1101s ok 247 /checksum/MD5/reset/59 1101s ok 248 /checksum/MD5/reset/60 1101s ok 249 /checksum/MD5/reset/61 1101s ok 250 /checksum/MD5/reset/62 1101s ok 251 /checksum/MD5/reset/63 1101s ok 252 /checksum/MD5/reset/64 1101s ok 253 /checksum/MD5/reset/65 1101s ok 254 /checksum/MD5/reset/66 1101s ok 255 /checksum/MD5/reset/67 1101s ok 256 /checksum/MD5/reset/68 1101s ok 257 /checksum/MD5/reset/69 1101s ok 258 /checksum/MD5/reset/70 1101s ok 259 /checksum/MD5/reset/71 1101s ok 260 /checksum/MD5/reset/72 1101s ok 261 /checksum/MD5/reset/73 1101s ok 262 /checksum/MD5/reset/74 1101s ok 263 /checksum/MD5/reset/75 1101s ok 264 /checksum/MD5/reset/76 1101s ok 265 /checksum/MD5/reset/77 1101s ok 266 /checksum/MD5/reset/78 1101s ok 267 /checksum/MD5/reset/79 1101s ok 268 /checksum/MD5/reset/80 1101s ok 269 /checksum/MD5/reset/81 1101s ok 270 /checksum/MD5/reset/82 1101s ok 271 /checksum/MD5/reset/83 1101s ok 272 /checksum/MD5/reset/84 1101s ok 273 /checksum/MD5/reset/85 1101s ok 274 /checksum/MD5/reset/86 1101s ok 275 /checksum/MD5/reset/87 1101s ok 276 /checksum/MD5/reset/88 1101s ok 277 /checksum/MD5/reset/89 1101s ok 278 /checksum/MD5/reset/90 1101s ok 279 /checksum/MD5/reset/91 1101s ok 280 /checksum/MD5/reset/92 1101s ok 281 /checksum/MD5/reset/93 1101s ok 282 /checksum/MD5/reset/94 1101s ok 283 /checksum/MD5/reset/95 1101s ok 284 /checksum/MD5/reset/96 1101s ok 285 /checksum/MD5/reset/97 1101s ok 286 /checksum/MD5/reset/98 1101s ok 287 /checksum/MD5/reset/99 1101s ok 288 /checksum/MD5/reset/100 1101s ok 289 /checksum/MD5/reset/101 1101s ok 290 /checksum/MD5/reset/102 1101s ok 291 /checksum/MD5/reset/103 1101s ok 292 /checksum/MD5/reset/104 1101s ok 293 /checksum/MD5/reset/105 1101s ok 294 /checksum/MD5/reset/106 1101s ok 295 /checksum/MD5/reset/107 1101s ok 296 /checksum/MD5/reset/108 1101s ok 297 /checksum/MD5/reset/109 1101s ok 298 /checksum/MD5/reset/110 1101s ok 299 /checksum/MD5/reset/111 1101s ok 300 /checksum/MD5/reset/112 1101s ok 301 /checksum/MD5/reset/113 1101s ok 302 /checksum/MD5/reset/114 1101s ok 303 /checksum/MD5/reset/115 1101s ok 304 /checksum/MD5/reset/116 1101s ok 305 /checksum/MD5/reset/117 1101s ok 306 /checksum/MD5/reset/118 1101s ok 307 /checksum/MD5/reset/119 1101s ok 308 /checksum/MD5/reset/120 1101s ok 309 /checksum/MD5/reset/121 1101s ok 310 /checksum/MD5/reset/122 1101s ok 311 /checksum/MD5/reset/123 1101s ok 312 /checksum/MD5/reset/124 1101s ok 313 /checksum/MD5/reset/125 1101s ok 314 /checksum/MD5/reset/126 1101s ok 315 /checksum/MD5/reset/127 1101s ok 316 /checksum/MD5/reset/128 1101s ok 317 /checksum/MD5/reset/129 1101s ok 318 /checksum/MD5/reset/130 1101s ok 319 /checksum/MD5/reset/131 1101s ok 320 /checksum/MD5/reset/132 1101s ok 321 /checksum/MD5/reset/133 1101s ok 322 /checksum/MD5/reset/134 1101s ok 323 /checksum/MD5/reset/135 1101s ok 324 /checksum/MD5/reset/136 1101s ok 325 /checksum/MD5/reset/137 1101s ok 326 /checksum/MD5/reset/138 1101s ok 327 /checksum/MD5/reset/139 1101s ok 328 /checksum/MD5/reset/140 1101s ok 329 /checksum/MD5/reset/141 1101s ok 330 /checksum/MD5/reset/142 1101s ok 331 /checksum/MD5/reset/143 1101s ok 332 /checksum/MD5/reset/144 1101s ok 333 /checksum/MD5/reset/145 1101s ok 334 /checksum/MD5/reset/146 1101s ok 335 /checksum/MD5/reset/147 1101s ok 336 /checksum/MD5/reset/148 1101s ok 337 /checksum/MD5/reset/149 1101s ok 338 /checksum/MD5/reset/150 1101s ok 339 /checksum/MD5/reset/151 1101s ok 340 /checksum/MD5/reset/152 1101s ok 341 /checksum/MD5/reset/153 1101s ok 342 /checksum/MD5/reset/154 1101s ok 343 /checksum/MD5/reset/155 1101s ok 344 /checksum/MD5/reset/156 1101s ok 345 /checksum/MD5/reset/157 1101s ok 346 /checksum/MD5/reset/158 1101s ok 347 /checksum/MD5/reset/159 1101s ok 348 /checksum/MD5/reset/160 1101s ok 349 /checksum/MD5/reset/161 1101s ok 350 /checksum/MD5/reset/162 1101s ok 351 /checksum/MD5/reset/163 1101s ok 352 /checksum/MD5/reset/164 1101s ok 353 /checksum/MD5/reset/165 1101s ok 354 /checksum/MD5/reset/166 1101s ok 355 /checksum/MD5/reset/167 1101s ok 356 /checksum/MD5/reset/168 1101s ok 357 /checksum/MD5/reset/169 1101s ok 358 /checksum/MD5/reset/170 1101s ok 359 /checksum/MD5/reset/171 1101s ok 360 /checksum/MD5/reset/172 1101s ok 361 /checksum/MD5/reset/173 1101s ok 362 /checksum/MD5/reset/174 1101s ok 363 /checksum/MD5/reset/175 1101s ok 364 /checksum/MD5/reset/176 1101s ok 365 /checksum/MD5/reset/177 1101s ok 366 /checksum/MD5/reset/178 1101s ok 367 /checksum/MD5/reset/179 1101s ok 368 /checksum/MD5/reset/180 1101s ok 369 /checksum/MD5/reset/181 1101s ok 370 /checksum/MD5/reset/182 1101s ok 371 /checksum/MD5/reset/183 1101s # End of reset tests 1101s # End of MD5 tests 1101s # Start of SHA1 tests 1101s ok 372 /checksum/SHA1/0 1101s ok 373 /checksum/SHA1/1 1101s ok 374 /checksum/SHA1/2 1101s ok 375 /checksum/SHA1/3 1101s ok 376 /checksum/SHA1/4 1101s ok 377 /checksum/SHA1/5 1101s ok 378 /checksum/SHA1/6 1101s ok 379 /checksum/SHA1/7 1101s ok 380 /checksum/SHA1/8 1101s ok 381 /checksum/SHA1/9 1101s ok 382 /checksum/SHA1/10 1101s ok 383 /checksum/SHA1/11 1101s ok 384 /checksum/SHA1/12 1101s ok 385 /checksum/SHA1/13 1101s ok 386 /checksum/SHA1/14 1101s ok 387 /checksum/SHA1/15 1101s ok 388 /checksum/SHA1/16 1101s ok 389 /checksum/SHA1/17 1101s ok 390 /checksum/SHA1/18 1101s ok 391 /checksum/SHA1/19 1101s ok 392 /checksum/SHA1/20 1101s ok 393 /checksum/SHA1/21 1101s ok 394 /checksum/SHA1/22 1101s ok 395 /checksum/SHA1/23 1101s ok 396 /checksum/SHA1/24 1101s ok 397 /checksum/SHA1/25 1101s ok 398 /checksum/SHA1/26 1101s ok 399 /checksum/SHA1/27 1101s ok 400 /checksum/SHA1/28 1101s ok 401 /checksum/SHA1/29 1101s ok 402 /checksum/SHA1/30 1101s ok 403 /checksum/SHA1/31 1101s ok 404 /checksum/SHA1/32 1101s ok 405 /checksum/SHA1/33 1101s ok 406 /checksum/SHA1/34 1101s ok 407 /checksum/SHA1/35 1101s ok 408 /checksum/SHA1/36 1101s ok 409 /checksum/SHA1/37 1101s ok 410 /checksum/SHA1/38 1101s ok 411 /checksum/SHA1/39 1101s ok 412 /checksum/SHA1/40 1101s ok 413 /checksum/SHA1/41 1101s ok 414 /checksum/SHA1/42 1101s ok 415 /checksum/SHA1/43 1101s ok 416 /checksum/SHA1/44 1101s ok 417 /checksum/SHA1/45 1101s ok 418 /checksum/SHA1/46 1101s ok 419 /checksum/SHA1/47 1101s ok 420 /checksum/SHA1/48 1101s ok 421 /checksum/SHA1/49 1101s ok 422 /checksum/SHA1/50 1101s ok 423 /checksum/SHA1/51 1101s ok 424 /checksum/SHA1/52 1101s ok 425 /checksum/SHA1/53 1101s ok 426 /checksum/SHA1/54 1101s ok 427 /checksum/SHA1/55 1101s ok 428 /checksum/SHA1/56 1101s ok 429 /checksum/SHA1/57 1101s ok 430 /checksum/SHA1/58 1101s ok 431 /checksum/SHA1/59 1101s ok 432 /checksum/SHA1/60 1101s ok 433 /checksum/SHA1/61 1101s ok 434 /checksum/SHA1/62 1101s ok 435 /checksum/SHA1/63 1101s ok 436 /checksum/SHA1/64 1101s ok 437 /checksum/SHA1/65 1101s ok 438 /checksum/SHA1/66 1101s ok 439 /checksum/SHA1/67 1101s ok 440 /checksum/SHA1/68 1101s ok 441 /checksum/SHA1/69 1101s ok 442 /checksum/SHA1/70 1101s ok 443 /checksum/SHA1/71 1101s ok 444 /checksum/SHA1/72 1101s ok 445 /checksum/SHA1/73 1101s ok 446 /checksum/SHA1/74 1101s ok 447 /checksum/SHA1/75 1101s ok 448 /checksum/SHA1/76 1101s ok 449 /checksum/SHA1/77 1101s ok 450 /checksum/SHA1/78 1101s ok 451 /checksum/SHA1/79 1101s ok 452 /checksum/SHA1/80 1101s ok 453 /checksum/SHA1/81 1101s ok 454 /checksum/SHA1/82 1101s ok 455 /checksum/SHA1/83 1101s ok 456 /checksum/SHA1/84 1101s ok 457 /checksum/SHA1/85 1101s ok 458 /checksum/SHA1/86 1101s ok 459 /checksum/SHA1/87 1101s ok 460 /checksum/SHA1/88 1101s ok 461 /checksum/SHA1/89 1101s ok 462 /checksum/SHA1/90 1101s ok 463 /checksum/SHA1/91 1101s ok 464 /checksum/SHA1/92 1101s ok 465 /checksum/SHA1/93 1101s ok 466 /checksum/SHA1/94 1101s ok 467 /checksum/SHA1/95 1101s ok 468 /checksum/SHA1/96 1101s ok 469 /checksum/SHA1/97 1101s ok 470 /checksum/SHA1/98 1101s ok 471 /checksum/SHA1/99 1101s ok 472 /checksum/SHA1/100 1101s ok 473 /checksum/SHA1/101 1101s ok 474 /checksum/SHA1/102 1101s ok 475 /checksum/SHA1/103 1101s ok 476 /checksum/SHA1/104 1101s ok 477 /checksum/SHA1/105 1101s ok 478 /checksum/SHA1/106 1101s ok 479 /checksum/SHA1/107 1101s ok 480 /checksum/SHA1/108 1101s ok 481 /checksum/SHA1/109 1101s ok 482 /checksum/SHA1/110 1101s ok 483 /checksum/SHA1/111 1101s ok 484 /checksum/SHA1/112 1101s ok 485 /checksum/SHA1/113 1101s ok 486 /checksum/SHA1/114 1101s ok 487 /checksum/SHA1/115 1101s ok 488 /checksum/SHA1/116 1101s ok 489 /checksum/SHA1/117 1101s ok 490 /checksum/SHA1/118 1101s ok 491 /checksum/SHA1/119 1101s ok 492 /checksum/SHA1/120 1101s ok 493 /checksum/SHA1/121 1101s ok 494 /checksum/SHA1/122 1101s ok 495 /checksum/SHA1/123 1101s ok 496 /checksum/SHA1/124 1101s ok 497 /checksum/SHA1/125 1101s ok 498 /checksum/SHA1/126 1101s ok 499 /checksum/SHA1/127 1101s ok 500 /checksum/SHA1/128 1101s ok 501 /checksum/SHA1/129 1101s ok 502 /checksum/SHA1/130 1101s ok 503 /checksum/SHA1/131 1101s ok 504 /checksum/SHA1/132 1101s ok 505 /checksum/SHA1/133 1101s ok 506 /checksum/SHA1/134 1101s ok 507 /checksum/SHA1/135 1101s ok 508 /checksum/SHA1/136 1101s ok 509 /checksum/SHA1/137 1101s ok 510 /checksum/SHA1/138 1101s ok 511 /checksum/SHA1/139 1101s ok 512 /checksum/SHA1/140 1101s ok 513 /checksum/SHA1/141 1101s ok 514 /checksum/SHA1/142 1101s ok 515 /checksum/SHA1/143 1101s ok 516 /checksum/SHA1/144 1101s ok 517 /checksum/SHA1/145 1101s ok 518 /checksum/SHA1/146 1101s ok 519 /checksum/SHA1/147 1101s ok 520 /checksum/SHA1/148 1101s ok 521 /checksum/SHA1/149 1101s ok 522 /checksum/SHA1/150 1101s ok 523 /checksum/SHA1/151 1101s ok 524 /checksum/SHA1/152 1101s ok 525 /checksum/SHA1/153 1101s ok 526 /checksum/SHA1/154 1101s ok 527 /checksum/SHA1/155 1101s ok 528 /checksum/SHA1/156 1101s ok 529 /checksum/SHA1/157 1101s ok 530 /checksum/SHA1/158 1101s ok 531 /checksum/SHA1/159 1101s ok 532 /checksum/SHA1/160 1101s ok 533 /checksum/SHA1/161 1101s ok 534 /checksum/SHA1/162 1101s ok 535 /checksum/SHA1/163 1101s ok 536 /checksum/SHA1/164 1101s ok 537 /checksum/SHA1/165 1101s ok 538 /checksum/SHA1/166 1101s ok 539 /checksum/SHA1/167 1101s ok 540 /checksum/SHA1/168 1101s ok 541 /checksum/SHA1/169 1101s ok 542 /checksum/SHA1/170 1101s ok 543 /checksum/SHA1/171 1101s ok 544 /checksum/SHA1/172 1101s ok 545 /checksum/SHA1/173 1101s ok 546 /checksum/SHA1/174 1101s ok 547 /checksum/SHA1/175 1101s ok 548 /checksum/SHA1/176 1101s ok 549 /checksum/SHA1/177 1101s ok 550 /checksum/SHA1/178 1101s ok 551 /checksum/SHA1/179 1101s ok 552 /checksum/SHA1/180 1101s ok 553 /checksum/SHA1/181 1101s ok 554 /checksum/SHA1/182 1101s ok 555 /checksum/SHA1/183 1101s ok 556 /checksum/SHA1/string 1101s ok 557 /checksum/SHA1/bytes 1101s # Start of reset tests 1101s ok 558 /checksum/SHA1/reset/0 1101s ok 559 /checksum/SHA1/reset/1 1101s ok 560 /checksum/SHA1/reset/2 1101s ok 561 /checksum/SHA1/reset/3 1101s ok 562 /checksum/SHA1/reset/4 1101s ok 563 /checksum/SHA1/reset/5 1101s ok 564 /checksum/SHA1/reset/6 1101s ok 565 /checksum/SHA1/reset/7 1101s ok 566 /checksum/SHA1/reset/8 1101s ok 567 /checksum/SHA1/reset/9 1101s ok 568 /checksum/SHA1/reset/10 1101s ok 569 /checksum/SHA1/reset/11 1101s ok 570 /checksum/SHA1/reset/12 1101s ok 571 /checksum/SHA1/reset/13 1101s ok 572 /checksum/SHA1/reset/14 1101s ok 573 /checksum/SHA1/reset/15 1101s ok 574 /checksum/SHA1/reset/16 1101s ok 575 /checksum/SHA1/reset/17 1101s ok 576 /checksum/SHA1/reset/18 1101s ok 577 /checksum/SHA1/reset/19 1101s ok 578 /checksum/SHA1/reset/20 1101s ok 579 /checksum/SHA1/reset/21 1101s ok 580 /checksum/SHA1/reset/22 1101s ok 581 /checksum/SHA1/reset/23 1101s ok 582 /checksum/SHA1/reset/24 1101s ok 583 /checksum/SHA1/reset/25 1101s ok 584 /checksum/SHA1/reset/26 1101s ok 585 /checksum/SHA1/reset/27 1101s ok 586 /checksum/SHA1/reset/28 1101s ok 587 /checksum/SHA1/reset/29 1101s ok 588 /checksum/SHA1/reset/30 1101s ok 589 /checksum/SHA1/reset/31 1101s ok 590 /checksum/SHA1/reset/32 1101s ok 591 /checksum/SHA1/reset/33 1101s ok 592 /checksum/SHA1/reset/34 1101s ok 593 /checksum/SHA1/reset/35 1101s ok 594 /checksum/SHA1/reset/36 1101s ok 595 /checksum/SHA1/reset/37 1101s ok 596 /checksum/SHA1/reset/38 1101s ok 597 /checksum/SHA1/reset/39 1101s ok 598 /checksum/SHA1/reset/40 1101s ok 599 /checksum/SHA1/reset/41 1101s ok 600 /checksum/SHA1/reset/42 1101s ok 601 /checksum/SHA1/reset/43 1101s ok 602 /checksum/SHA1/reset/44 1101s ok 603 /checksum/SHA1/reset/45 1101s ok 604 /checksum/SHA1/reset/46 1101s ok 605 /checksum/SHA1/reset/47 1101s ok 606 /checksum/SHA1/reset/48 1101s ok 607 /checksum/SHA1/reset/49 1101s ok 608 /checksum/SHA1/reset/50 1101s ok 609 /checksum/SHA1/reset/51 1101s ok 610 /checksum/SHA1/reset/52 1101s ok 611 /checksum/SHA1/reset/53 1101s ok 612 /checksum/SHA1/reset/54 1101s ok 613 /checksum/SHA1/reset/55 1101s ok 614 /checksum/SHA1/reset/56 1101s ok 615 /checksum/SHA1/reset/57 1101s ok 616 /checksum/SHA1/reset/58 1101s ok 617 /checksum/SHA1/reset/59 1101s ok 618 /checksum/SHA1/reset/60 1101s ok 619 /checksum/SHA1/reset/61 1101s ok 620 /checksum/SHA1/reset/62 1101s ok 621 /checksum/SHA1/reset/63 1101s ok 622 /checksum/SHA1/reset/64 1101s ok 623 /checksum/SHA1/reset/65 1101s ok 624 /checksum/SHA1/reset/66 1101s ok 625 /checksum/SHA1/reset/67 1101s ok 626 /checksum/SHA1/reset/68 1101s ok 627 /checksum/SHA1/reset/69 1101s ok 628 /checksum/SHA1/reset/70 1101s ok 629 /checksum/SHA1/reset/71 1101s ok 630 /checksum/SHA1/reset/72 1101s ok 631 /checksum/SHA1/reset/73 1101s ok 632 /checksum/SHA1/reset/74 1101s ok 633 /checksum/SHA1/reset/75 1101s ok 634 /checksum/SHA1/reset/76 1101s ok 635 /checksum/SHA1/reset/77 1101s ok 636 /checksum/SHA1/reset/78 1101s ok 637 /checksum/SHA1/reset/79 1101s ok 638 /checksum/SHA1/reset/80 1101s ok 639 /checksum/SHA1/reset/81 1101s ok 640 /checksum/SHA1/reset/82 1101s ok 641 /checksum/SHA1/reset/83 1101s ok 642 /checksum/SHA1/reset/84 1101s ok 643 /checksum/SHA1/reset/85 1101s ok 644 /checksum/SHA1/reset/86 1101s ok 645 /checksum/SHA1/reset/87 1101s ok 646 /checksum/SHA1/reset/88 1101s ok 647 /checksum/SHA1/reset/89 1101s ok 648 /checksum/SHA1/reset/90 1101s ok 649 /checksum/SHA1/reset/91 1101s ok 650 /checksum/SHA1/reset/92 1101s ok 651 /checksum/SHA1/reset/93 1101s ok 652 /checksum/SHA1/reset/94 1101s ok 653 /checksum/SHA1/reset/95 1101s ok 654 /checksum/SHA1/reset/96 1101s ok 655 /checksum/SHA1/reset/97 1101s ok 656 /checksum/SHA1/reset/98 1101s ok 657 /checksum/SHA1/reset/99 1101s ok 658 /checksum/SHA1/reset/100 1101s ok 659 /checksum/SHA1/reset/101 1101s ok 660 /checksum/SHA1/reset/102 1101s ok 661 /checksum/SHA1/reset/103 1101s ok 662 /checksum/SHA1/reset/104 1101s ok 663 /checksum/SHA1/reset/105 1101s ok 664 /checksum/SHA1/reset/106 1101s ok 665 /checksum/SHA1/reset/107 1101s ok 666 /checksum/SHA1/reset/108 1101s ok 667 /checksum/SHA1/reset/109 1101s ok 668 /checksum/SHA1/reset/110 1101s ok 669 /checksum/SHA1/reset/111 1101s ok 670 /checksum/SHA1/reset/112 1101s ok 671 /checksum/SHA1/reset/113 1101s ok 672 /checksum/SHA1/reset/114 1101s ok 673 /checksum/SHA1/reset/115 1101s ok 674 /checksum/SHA1/reset/116 1101s ok 675 /checksum/SHA1/reset/117 1101s ok 676 /checksum/SHA1/reset/118 1101s ok 677 /checksum/SHA1/reset/119 1101s ok 678 /checksum/SHA1/reset/120 1101s ok 679 /checksum/SHA1/reset/121 1101s ok 680 /checksum/SHA1/reset/122 1101s ok 681 /checksum/SHA1/reset/123 1101s ok 682 /checksum/SHA1/reset/124 1101s ok 683 /checksum/SHA1/reset/125 1101s ok 684 /checksum/SHA1/reset/126 1101s ok 685 /checksum/SHA1/reset/127 1101s ok 686 /checksum/SHA1/reset/128 1101s ok 687 /checksum/SHA1/reset/129 1101s ok 688 /checksum/SHA1/reset/130 1101s ok 689 /checksum/SHA1/reset/131 1101s ok 690 /checksum/SHA1/reset/132 1101s ok 691 /checksum/SHA1/reset/133 1101s ok 692 /checksum/SHA1/reset/134 1101s ok 693 /checksum/SHA1/reset/135 1101s ok 694 /checksum/SHA1/reset/136 1101s ok 695 /checksum/SHA1/reset/137 1101s ok 696 /checksum/SHA1/reset/138 1101s ok 697 /checksum/SHA1/reset/139 1101s ok 698 /checksum/SHA1/reset/140 1101s ok 699 /checksum/SHA1/reset/141 1101s ok 700 /checksum/SHA1/reset/142 1101s ok 701 /checksum/SHA1/reset/143 1101s ok 702 /checksum/SHA1/reset/144 1101s ok 703 /checksum/SHA1/reset/145 1101s ok 704 /checksum/SHA1/reset/146 1101s ok 705 /checksum/SHA1/reset/147 1101s ok 706 /checksum/SHA1/reset/148 1101s ok 707 /checksum/SHA1/reset/149 1101s ok 708 /checksum/SHA1/reset/150 1101s ok 709 /checksum/SHA1/reset/151 1101s ok 710 /checksum/SHA1/reset/152 1101s ok 711 /checksum/SHA1/reset/153 1101s ok 712 /checksum/SHA1/reset/154 1101s ok 713 /checksum/SHA1/reset/155 1101s ok 714 /checksum/SHA1/reset/156 1101s ok 715 /checksum/SHA1/reset/157 1101s ok 716 /checksum/SHA1/reset/158 1101s ok 717 /checksum/SHA1/reset/159 1101s ok 718 /checksum/SHA1/reset/160 1101s ok 719 /checksum/SHA1/reset/161 1101s ok 720 /checksum/SHA1/reset/162 1101s ok 721 /checksum/SHA1/reset/163 1101s ok 722 /checksum/SHA1/reset/164 1101s ok 723 /checksum/SHA1/reset/165 1101s ok 724 /checksum/SHA1/reset/166 1101s ok 725 /checksum/SHA1/reset/167 1101s ok 726 /checksum/SHA1/reset/168 1101s ok 727 /checksum/SHA1/reset/169 1101s ok 728 /checksum/SHA1/reset/170 1101s ok 729 /checksum/SHA1/reset/171 1101s ok 730 /checksum/SHA1/reset/172 1101s ok 731 /checksum/SHA1/reset/173 1101s ok 732 /checksum/SHA1/reset/174 1101s ok 733 /checksum/SHA1/reset/175 1101s ok 734 /checksum/SHA1/reset/176 1101s ok 735 /checksum/SHA1/reset/177 1101s ok 736 /checksum/SHA1/reset/178 1101s ok 737 /checksum/SHA1/reset/179 1101s ok 738 /checksum/SHA1/reset/180 1101s ok 739 /checksum/SHA1/reset/181 1101s ok 740 /checksum/SHA1/reset/182 1101s ok 741 /checksum/SHA1/reset/183 1101s # End of reset tests 1101s # End of SHA1 tests 1101s # Start of SHA256 tests 1101s ok 742 /checksum/SHA256/0 1101s ok 743 /checksum/SHA256/1 1101s ok 744 /checksum/SHA256/2 1101s ok 745 /checksum/SHA256/3 1101s ok 746 /checksum/SHA256/4 1101s ok 747 /checksum/SHA256/5 1101s ok 748 /checksum/SHA256/6 1101s ok 749 /checksum/SHA256/7 1101s ok 750 /checksum/SHA256/8 1101s ok 751 /checksum/SHA256/9 1101s ok 752 /checksum/SHA256/10 1101s ok 753 /checksum/SHA256/11 1101s ok 754 /checksum/SHA256/12 1101s ok 755 /checksum/SHA256/13 1101s ok 756 /checksum/SHA256/14 1101s ok 757 /checksum/SHA256/15 1101s ok 758 /checksum/SHA256/16 1101s ok 759 /checksum/SHA256/17 1101s ok 760 /checksum/SHA256/18 1101s ok 761 /checksum/SHA256/19 1101s ok 762 /checksum/SHA256/20 1101s ok 763 /checksum/SHA256/21 1101s ok 764 /checksum/SHA256/22 1101s ok 765 /checksum/SHA256/23 1101s ok 766 /checksum/SHA256/24 1101s ok 767 /checksum/SHA256/25 1101s ok 768 /checksum/SHA256/26 1101s ok 769 /checksum/SHA256/27 1101s ok 770 /checksum/SHA256/28 1101s ok 771 /checksum/SHA256/29 1101s ok 772 /checksum/SHA256/30 1101s ok 773 /checksum/SHA256/31 1101s ok 774 /checksum/SHA256/32 1101s ok 775 /checksum/SHA256/33 1101s ok 776 /checksum/SHA256/34 1101s ok 777 /checksum/SHA256/35 1101s ok 778 /checksum/SHA256/36 1101s ok 779 /checksum/SHA256/37 1101s ok 780 /checksum/SHA256/38 1101s ok 781 /checksum/SHA256/39 1101s ok 782 /checksum/SHA256/40 1101s ok 783 /checksum/SHA256/41 1101s ok 784 /checksum/SHA256/42 1101s ok 785 /checksum/SHA256/43 1101s ok 786 /checksum/SHA256/44 1101s ok 787 /checksum/SHA256/45 1101s ok 788 /checksum/SHA256/46 1101s ok 789 /checksum/SHA256/47 1101s ok 790 /checksum/SHA256/48 1101s ok 791 /checksum/SHA256/49 1101s ok 792 /checksum/SHA256/50 1101s ok 793 /checksum/SHA256/51 1101s ok 794 /checksum/SHA256/52 1101s ok 795 /checksum/SHA256/53 1101s ok 796 /checksum/SHA256/54 1101s ok 797 /checksum/SHA256/55 1101s ok 798 /checksum/SHA256/56 1101s ok 799 /checksum/SHA256/57 1101s ok 800 /checksum/SHA256/58 1101s ok 801 /checksum/SHA256/59 1101s ok 802 /checksum/SHA256/60 1101s ok 803 /checksum/SHA256/61 1101s ok 804 /checksum/SHA256/62 1101s ok 805 /checksum/SHA256/63 1101s ok 806 /checksum/SHA256/64 1101s ok 807 /checksum/SHA256/65 1101s ok 808 /checksum/SHA256/66 1101s ok 809 /checksum/SHA256/67 1101s ok 810 /checksum/SHA256/68 1101s ok 811 /checksum/SHA256/69 1101s ok 812 /checksum/SHA256/70 1101s ok 813 /checksum/SHA256/71 1101s ok 814 /checksum/SHA256/72 1101s ok 815 /checksum/SHA256/73 1101s ok 816 /checksum/SHA256/74 1101s ok 817 /checksum/SHA256/75 1101s ok 818 /checksum/SHA256/76 1101s ok 819 /checksum/SHA256/77 1101s ok 820 /checksum/SHA256/78 1101s ok 821 /checksum/SHA256/79 1101s ok 822 /checksum/SHA256/80 1101s ok 823 /checksum/SHA256/81 1101s ok 824 /checksum/SHA256/82 1101s ok 825 /checksum/SHA256/83 1101s ok 826 /checksum/SHA256/84 1101s ok 827 /checksum/SHA256/85 1101s ok 828 /checksum/SHA256/86 1101s ok 829 /checksum/SHA256/87 1101s ok 830 /checksum/SHA256/88 1101s ok 831 /checksum/SHA256/89 1101s ok 832 /checksum/SHA256/90 1101s ok 833 /checksum/SHA256/91 1101s ok 834 /checksum/SHA256/92 1101s ok 835 /checksum/SHA256/93 1101s ok 836 /checksum/SHA256/94 1101s ok 837 /checksum/SHA256/95 1101s ok 838 /checksum/SHA256/96 1101s ok 839 /checksum/SHA256/97 1101s ok 840 /checksum/SHA256/98 1101s ok 841 /checksum/SHA256/99 1101s ok 842 /checksum/SHA256/100 1101s ok 843 /checksum/SHA256/101 1101s ok 844 /checksum/SHA256/102 1101s ok 845 /checksum/SHA256/103 1101s ok 846 /checksum/SHA256/104 1101s ok 847 /checksum/SHA256/105 1101s ok 848 /checksum/SHA256/106 1101s ok 849 /checksum/SHA256/107 1101s ok 850 /checksum/SHA256/108 1101s ok 851 /checksum/SHA256/109 1101s ok 852 /checksum/SHA256/110 1101s ok 853 /checksum/SHA256/111 1101s ok 854 /checksum/SHA256/112 1101s ok 855 /checksum/SHA256/113 1101s ok 856 /checksum/SHA256/114 1101s ok 857 /checksum/SHA256/115 1101s ok 858 /checksum/SHA256/116 1101s ok 859 /checksum/SHA256/117 1101s ok 860 /checksum/SHA256/118 1101s ok 861 /checksum/SHA256/119 1101s ok 862 /checksum/SHA256/120 1101s ok 863 /checksum/SHA256/121 1101s ok 864 /checksum/SHA256/122 1101s ok 865 /checksum/SHA256/123 1101s ok 866 /checksum/SHA256/124 1101s ok 867 /checksum/SHA256/125 1101s ok 868 /checksum/SHA256/126 1101s ok 869 /checksum/SHA256/127 1101s ok 870 /checksum/SHA256/128 1101s ok 871 /checksum/SHA256/129 1101s ok 872 /checksum/SHA256/130 1101s ok 873 /checksum/SHA256/131 1101s ok 874 /checksum/SHA256/132 1101s ok 875 /checksum/SHA256/133 1101s ok 876 /checksum/SHA256/134 1101s ok 877 /checksum/SHA256/135 1101s ok 878 /checksum/SHA256/136 1101s ok 879 /checksum/SHA256/137 1101s ok 880 /checksum/SHA256/138 1101s ok 881 /checksum/SHA256/139 1101s ok 882 /checksum/SHA256/140 1101s ok 883 /checksum/SHA256/141 1101s ok 884 /checksum/SHA256/142 1101s ok 885 /checksum/SHA256/143 1101s ok 886 /checksum/SHA256/144 1101s ok 887 /checksum/SHA256/145 1101s ok 888 /checksum/SHA256/146 1101s ok 889 /checksum/SHA256/147 1101s ok 890 /checksum/SHA256/148 1101s ok 891 /checksum/SHA256/149 1101s ok 892 /checksum/SHA256/150 1101s ok 893 /checksum/SHA256/151 1101s ok 894 /checksum/SHA256/152 1101s ok 895 /checksum/SHA256/153 1101s ok 896 /checksum/SHA256/154 1101s ok 897 /checksum/SHA256/155 1101s ok 898 /checksum/SHA256/156 1101s ok 899 /checksum/SHA256/157 1101s ok 900 /checksum/SHA256/158 1101s ok 901 /checksum/SHA256/159 1101s ok 902 /checksum/SHA256/160 1101s ok 903 /checksum/SHA256/161 1101s ok 904 /checksum/SHA256/162 1101s ok 905 /checksum/SHA256/163 1101s ok 906 /checksum/SHA256/164 1101s ok 907 /checksum/SHA256/165 1101s ok 908 /checksum/SHA256/166 1101s ok 909 /checksum/SHA256/167 1101s ok 910 /checksum/SHA256/168 1101s ok 911 /checksum/SHA256/169 1101s ok 912 /checksum/SHA256/170 1101s ok 913 /checksum/SHA256/171 1101s ok 914 /checksum/SHA256/172 1101s ok 915 /checksum/SHA256/173 1101s ok 916 /checksum/SHA256/174 1101s ok 917 /checksum/SHA256/175 1101s ok 918 /checksum/SHA256/176 1101s ok 919 /checksum/SHA256/177 1101s ok 920 /checksum/SHA256/178 1101s ok 921 /checksum/SHA256/179 1101s ok 922 /checksum/SHA256/180 1101s ok 923 /checksum/SHA256/181 1101s ok 924 /checksum/SHA256/182 1101s ok 925 /checksum/SHA256/183 1101s ok 926 /checksum/SHA256/string 1101s ok 927 /checksum/SHA256/bytes 1101s # Start of reset tests 1101s ok 928 /checksum/SHA256/reset/0 1101s ok 929 /checksum/SHA256/reset/1 1101s ok 930 /checksum/SHA256/reset/2 1101s ok 931 /checksum/SHA256/reset/3 1101s ok 932 /checksum/SHA256/reset/4 1101s ok 933 /checksum/SHA256/reset/5 1101s ok 934 /checksum/SHA256/reset/6 1101s ok 935 /checksum/SHA256/reset/7 1101s ok 936 /checksum/SHA256/reset/8 1101s ok 937 /checksum/SHA256/reset/9 1101s ok 938 /checksum/SHA256/reset/10 1101s ok 939 /checksum/SHA256/reset/11 1101s ok 940 /checksum/SHA256/reset/12 1101s ok 941 /checksum/SHA256/reset/13 1101s ok 942 /checksum/SHA256/reset/14 1101s ok 943 /checksum/SHA256/reset/15 1101s ok 944 /checksum/SHA256/reset/16 1101s ok 945 /checksum/SHA256/reset/17 1101s ok 946 /checksum/SHA256/reset/18 1101s ok 947 /checksum/SHA256/reset/19 1101s ok 948 /checksum/SHA256/reset/20 1101s ok 949 /checksum/SHA256/reset/21 1101s ok 950 /checksum/SHA256/reset/22 1101s ok 951 /checksum/SHA256/reset/23 1101s ok 952 /checksum/SHA256/reset/24 1101s ok 953 /checksum/SHA256/reset/25 1101s ok 954 /checksum/SHA256/reset/26 1101s ok 955 /checksum/SHA256/reset/27 1101s ok 956 /checksum/SHA256/reset/28 1101s ok 957 /checksum/SHA256/reset/29 1101s ok 958 /checksum/SHA256/reset/30 1101s ok 959 /checksum/SHA256/reset/31 1101s ok 960 /checksum/SHA256/reset/32 1101s ok 961 /checksum/SHA256/reset/33 1101s ok 962 /checksum/SHA256/reset/34 1101s ok 963 /checksum/SHA256/reset/35 1101s ok 964 /checksum/SHA256/reset/36 1101s ok 965 /checksum/SHA256/reset/37 1101s ok 966 /checksum/SHA256/reset/38 1101s ok 967 /checksum/SHA256/reset/39 1101s ok 968 /checksum/SHA256/reset/40 1101s ok 969 /checksum/SHA256/reset/41 1101s ok 970 /checksum/SHA256/reset/42 1101s ok 971 /checksum/SHA256/reset/43 1101s ok 972 /checksum/SHA256/reset/44 1101s ok 973 /checksum/SHA256/reset/45 1101s ok 974 /checksum/SHA256/reset/46 1101s ok 975 /checksum/SHA256/reset/47 1101s ok 976 /checksum/SHA256/reset/48 1101s ok 977 /checksum/SHA256/reset/49 1101s ok 978 /checksum/SHA256/reset/50 1101s ok 979 /checksum/SHA256/reset/51 1101s ok 980 /checksum/SHA256/reset/52 1101s ok 981 /checksum/SHA256/reset/53 1101s ok 982 /checksum/SHA256/reset/54 1101s ok 983 /checksum/SHA256/reset/55 1101s ok 984 /checksum/SHA256/reset/56 1101s ok 985 /checksum/SHA256/reset/57 1101s ok 986 /checksum/SHA256/reset/58 1101s ok 987 /checksum/SHA256/reset/59 1101s ok 988 /checksum/SHA256/reset/60 1101s ok 989 /checksum/SHA256/reset/61 1101s ok 990 /checksum/SHA256/reset/62 1101s ok 991 /checksum/SHA256/reset/63 1101s ok 992 /checksum/SHA256/reset/64 1101s ok 993 /checksum/SHA256/reset/65 1101s ok 994 /checksum/SHA256/reset/66 1101s ok 995 /checksum/SHA256/reset/67 1101s ok 996 /checksum/SHA256/reset/68 1101s ok 997 /checksum/SHA256/reset/69 1101s ok 998 /checksum/SHA256/reset/70 1101s ok 999 /checksum/SHA256/reset/71 1101s ok 1000 /checksum/SHA256/reset/72 1101s ok 1001 /checksum/SHA256/reset/73 1101s ok 1002 /checksum/SHA256/reset/74 1101s ok 1003 /checksum/SHA256/reset/75 1101s ok 1004 /checksum/SHA256/reset/76 1101s ok 1005 /checksum/SHA256/reset/77 1101s ok 1006 /checksum/SHA256/reset/78 1101s ok 1007 /checksum/SHA256/reset/79 1101s ok 1008 /checksum/SHA256/reset/80 1101s ok 1009 /checksum/SHA256/reset/81 1101s ok 1010 /checksum/SHA256/reset/82 1101s ok 1011 /checksum/SHA256/reset/83 1101s ok 1012 /checksum/SHA256/reset/84 1101s ok 1013 /checksum/SHA256/reset/85 1101s ok 1014 /checksum/SHA256/reset/86 1101s ok 1015 /checksum/SHA256/reset/87 1101s ok 1016 /checksum/SHA256/reset/88 1101s ok 1017 /checksum/SHA256/reset/89 1101s ok 1018 /checksum/SHA256/reset/90 1101s ok 1019 /checksum/SHA256/reset/91 1101s ok 1020 /checksum/SHA256/reset/92 1101s ok 1021 /checksum/SHA256/reset/93 1101s ok 1022 /checksum/SHA256/reset/94 1101s ok 1023 /checksum/SHA256/reset/95 1101s ok 1024 /checksum/SHA256/reset/96 1101s ok 1025 /checksum/SHA256/reset/97 1101s ok 1026 /checksum/SHA256/reset/98 1101s ok 1027 /checksum/SHA256/reset/99 1101s ok 1028 /checksum/SHA256/reset/100 1101s ok 1029 /checksum/SHA256/reset/101 1101s ok 1030 /checksum/SHA256/reset/102 1101s ok 1031 /checksum/SHA256/reset/103 1101s ok 1032 /checksum/SHA256/reset/104 1101s ok 1033 /checksum/SHA256/reset/105 1101s ok 1034 /checksum/SHA256/reset/106 1101s ok 1035 /checksum/SHA256/reset/107 1101s ok 1036 /checksum/SHA256/reset/108 1101s ok 1037 /checksum/SHA256/reset/109 1101s ok 1038 /checksum/SHA256/reset/110 1101s ok 1039 /checksum/SHA256/reset/111 1101s ok 1040 /checksum/SHA256/reset/112 1101s ok 1041 /checksum/SHA256/reset/113 1101s ok 1042 /checksum/SHA256/reset/114 1101s ok 1043 /checksum/SHA256/reset/115 1101s ok 1044 /checksum/SHA256/reset/116 1101s ok 1045 /checksum/SHA256/reset/117 1101s ok 1046 /checksum/SHA256/reset/118 1101s ok 1047 /checksum/SHA256/reset/119 1101s ok 1048 /checksum/SHA256/reset/120 1101s ok 1049 /checksum/SHA256/reset/121 1101s ok 1050 /checksum/SHA256/reset/122 1101s ok 1051 /checksum/SHA256/reset/123 1101s ok 1052 /checksum/SHA256/reset/124 1101s ok 1053 /checksum/SHA256/reset/125 1101s ok 1054 /checksum/SHA256/reset/126 1101s ok 1055 /checksum/SHA256/reset/127 1101s ok 1056 /checksum/SHA256/reset/128 1101s ok 1057 /checksum/SHA256/reset/129 1101s ok 1058 /checksum/SHA256/reset/130 1101s ok 1059 /checksum/SHA256/reset/131 1101s ok 1060 /checksum/SHA256/reset/132 1101s ok 1061 /checksum/SHA256/reset/133 1101s ok 1062 /checksum/SHA256/reset/134 1101s ok 1063 /checksum/SHA256/reset/135 1101s ok 1064 /checksum/SHA256/reset/136 1101s ok 1065 /checksum/SHA256/reset/137 1101s ok 1066 /checksum/SHA256/reset/138 1101s ok 1067 /checksum/SHA256/reset/139 1101s ok 1068 /checksum/SHA256/reset/140 1101s ok 1069 /checksum/SHA256/reset/141 1101s ok 1070 /checksum/SHA256/reset/142 1101s ok 1071 /checksum/SHA256/reset/143 1101s ok 1072 /checksum/SHA256/reset/144 1101s ok 1073 /checksum/SHA256/reset/145 1101s ok 1074 /checksum/SHA256/reset/146 1101s ok 1075 /checksum/SHA256/reset/147 1101s ok 1076 /checksum/SHA256/reset/148 1101s ok 1077 /checksum/SHA256/reset/149 1101s ok 1078 /checksum/SHA256/reset/150 1101s ok 1079 /checksum/SHA256/reset/151 1101s ok 1080 /checksum/SHA256/reset/152 1101s ok 1081 /checksum/SHA256/reset/153 1101s ok 1082 /checksum/SHA256/reset/154 1101s ok 1083 /checksum/SHA256/reset/155 1101s ok 1084 /checksum/SHA256/reset/156 1101s ok 1085 /checksum/SHA256/reset/157 1101s ok 1086 /checksum/SHA256/reset/158 1101s ok 1087 /checksum/SHA256/reset/159 1101s ok 1088 /checksum/SHA256/reset/160 1101s ok 1089 /checksum/SHA256/reset/161 1101s ok 1090 /checksum/SHA256/reset/162 1101s ok 1091 /checksum/SHA256/reset/163 1101s ok 1092 /checksum/SHA256/reset/164 1101s ok 1093 /checksum/SHA256/reset/165 1101s ok 1094 /checksum/SHA256/reset/166 1101s ok 1095 /checksum/SHA256/reset/167 1101s ok 1096 /checksum/SHA256/reset/168 1101s ok 1097 /checksum/SHA256/reset/169 1101s ok 1098 /checksum/SHA256/reset/170 1101s ok 1099 /checksum/SHA256/reset/171 1101s ok 1100 /checksum/SHA256/reset/172 1101s ok 1101 /checksum/SHA256/reset/173 1101s ok 1102 /checksum/SHA256/reset/174 1101s ok 1103 /checksum/SHA256/reset/175 1101s ok 1104 /checksum/SHA256/reset/176 1101s ok 1105 /checksum/SHA256/reset/177 1101s ok 1106 /checksum/SHA256/reset/178 1101s ok 1107 /checksum/SHA256/reset/179 1101s ok 1108 /checksum/SHA256/reset/180 1101s ok 1109 /checksum/SHA256/reset/181 1101s ok 1110 /checksum/SHA256/reset/182 1101s ok 1111 /checksum/SHA256/reset/183 1101s # End of reset tests 1101s # End of SHA256 tests 1101s # Start of SHA384 tests 1101s ok 1112 /checksum/SHA384/0 1101s ok 1113 /checksum/SHA384/1 1101s ok 1114 /checksum/SHA384/2 1101s ok 1115 /checksum/SHA384/3 1101s ok 1116 /checksum/SHA384/4 1101s ok 1117 /checksum/SHA384/5 1101s ok 1118 /checksum/SHA384/6 1101s ok 1119 /checksum/SHA384/7 1101s ok 1120 /checksum/SHA384/8 1101s ok 1121 /checksum/SHA384/9 1101s ok 1122 /checksum/SHA384/10 1101s ok 1123 /checksum/SHA384/11 1101s ok 1124 /checksum/SHA384/12 1101s ok 1125 /checksum/SHA384/13 1101s ok 1126 /checksum/SHA384/14 1101s ok 1127 /checksum/SHA384/15 1101s ok 1128 /checksum/SHA384/16 1101s ok 1129 /checksum/SHA384/17 1101s ok 1130 /checksum/SHA384/18 1101s ok 1131 /checksum/SHA384/19 1101s ok 1132 /checksum/SHA384/20 1101s ok 1133 /checksum/SHA384/21 1101s ok 1134 /checksum/SHA384/22 1101s ok 1135 /checksum/SHA384/23 1101s ok 1136 /checksum/SHA384/24 1101s ok 1137 /checksum/SHA384/25 1101s ok 1138 /checksum/SHA384/26 1101s ok 1139 /checksum/SHA384/27 1101s ok 1140 /checksum/SHA384/28 1101s ok 1141 /checksum/SHA384/29 1101s ok 1142 /checksum/SHA384/30 1101s ok 1143 /checksum/SHA384/31 1101s ok 1144 /checksum/SHA384/32 1101s ok 1145 /checksum/SHA384/33 1101s ok 1146 /checksum/SHA384/34 1101s ok 1147 /checksum/SHA384/35 1101s ok 1148 /checksum/SHA384/36 1101s ok 1149 /checksum/SHA384/37 1101s ok 1150 /checksum/SHA384/38 1101s ok 1151 /checksum/SHA384/39 1101s ok 1152 /checksum/SHA384/40 1101s ok 1153 /checksum/SHA384/41 1101s ok 1154 /checksum/SHA384/42 1101s ok 1155 /checksum/SHA384/43 1101s ok 1156 /checksum/SHA384/44 1101s ok 1157 /checksum/SHA384/45 1101s ok 1158 /checksum/SHA384/46 1101s ok 1159 /checksum/SHA384/47 1101s ok 1160 /checksum/SHA384/48 1101s ok 1161 /checksum/SHA384/49 1101s ok 1162 /checksum/SHA384/50 1101s ok 1163 /checksum/SHA384/51 1101s ok 1164 /checksum/SHA384/52 1101s ok 1165 /checksum/SHA384/53 1101s ok 1166 /checksum/SHA384/54 1101s ok 1167 /checksum/SHA384/55 1101s ok 1168 /checksum/SHA384/56 1101s ok 1169 /checksum/SHA384/57 1101s ok 1170 /checksum/SHA384/58 1101s ok 1171 /checksum/SHA384/59 1101s ok 1172 /checksum/SHA384/60 1101s ok 1173 /checksum/SHA384/61 1101s ok 1174 /checksum/SHA384/62 1101s ok 1175 /checksum/SHA384/63 1101s ok 1176 /checksum/SHA384/64 1101s ok 1177 /checksum/SHA384/65 1101s ok 1178 /checksum/SHA384/66 1101s ok 1179 /checksum/SHA384/67 1101s ok 1180 /checksum/SHA384/68 1101s ok 1181 /checksum/SHA384/69 1101s ok 1182 /checksum/SHA384/70 1101s ok 1183 /checksum/SHA384/71 1101s ok 1184 /checksum/SHA384/72 1101s ok 1185 /checksum/SHA384/73 1101s ok 1186 /checksum/SHA384/74 1101s ok 1187 /checksum/SHA384/75 1101s ok 1188 /checksum/SHA384/76 1101s ok 1189 /checksum/SHA384/77 1101s ok 1190 /checksum/SHA384/78 1101s ok 1191 /checksum/SHA384/79 1101s ok 1192 /checksum/SHA384/80 1101s ok 1193 /checksum/SHA384/81 1101s ok 1194 /checksum/SHA384/82 1101s ok 1195 /checksum/SHA384/83 1101s ok 1196 /checksum/SHA384/84 1101s ok 1197 /checksum/SHA384/85 1101s ok 1198 /checksum/SHA384/86 1101s ok 1199 /checksum/SHA384/87 1101s ok 1200 /checksum/SHA384/88 1101s ok 1201 /checksum/SHA384/89 1101s ok 1202 /checksum/SHA384/90 1101s ok 1203 /checksum/SHA384/91 1101s ok 1204 /checksum/SHA384/92 1101s ok 1205 /checksum/SHA384/93 1101s ok 1206 /checksum/SHA384/94 1101s ok 1207 /checksum/SHA384/95 1101s ok 1208 /checksum/SHA384/96 1101s ok 1209 /checksum/SHA384/97 1101s ok 1210 /checksum/SHA384/98 1101s ok 1211 /checksum/SHA384/99 1101s ok 1212 /checksum/SHA384/100 1101s ok 1213 /checksum/SHA384/101 1101s ok 1214 /checksum/SHA384/102 1101s ok 1215 /checksum/SHA384/103 1101s ok 1216 /checksum/SHA384/104 1101s ok 1217 /checksum/SHA384/105 1101s ok 1218 /checksum/SHA384/106 1101s ok 1219 /checksum/SHA384/107 1101s ok 1220 /checksum/SHA384/108 1101s ok 1221 /checksum/SHA384/109 1101s ok 1222 /checksum/SHA384/110 1101s ok 1223 /checksum/SHA384/111 1101s ok 1224 /checksum/SHA384/112 1101s ok 1225 /checksum/SHA384/113 1101s ok 1226 /checksum/SHA384/114 1101s ok 1227 /checksum/SHA384/115 1101s ok 1228 /checksum/SHA384/116 1101s ok 1229 /checksum/SHA384/117 1101s ok 1230 /checksum/SHA384/118 1101s ok 1231 /checksum/SHA384/119 1101s ok 1232 /checksum/SHA384/120 1101s ok 1233 /checksum/SHA384/121 1101s ok 1234 /checksum/SHA384/122 1101s ok 1235 /checksum/SHA384/123 1101s ok 1236 /checksum/SHA384/124 1101s ok 1237 /checksum/SHA384/125 1101s ok 1238 /checksum/SHA384/126 1101s ok 1239 /checksum/SHA384/127 1101s ok 1240 /checksum/SHA384/128 1101s ok 1241 /checksum/SHA384/129 1101s ok 1242 /checksum/SHA384/130 1101s ok 1243 /checksum/SHA384/131 1101s ok 1244 /checksum/SHA384/132 1101s ok 1245 /checksum/SHA384/133 1101s ok 1246 /checksum/SHA384/134 1101s ok 1247 /checksum/SHA384/135 1101s ok 1248 /checksum/SHA384/136 1101s ok 1249 /checksum/SHA384/137 1101s ok 1250 /checksum/SHA384/138 1101s ok 1251 /checksum/SHA384/139 1101s ok 1252 /checksum/SHA384/140 1101s ok 1253 /checksum/SHA384/141 1101s ok 1254 /checksum/SHA384/142 1101s ok 1255 /checksum/SHA384/143 1101s ok 1256 /checksum/SHA384/144 1101s ok 1257 /checksum/SHA384/145 1101s ok 1258 /checksum/SHA384/146 1101s ok 1259 /checksum/SHA384/147 1101s ok 1260 /checksum/SHA384/148 1101s ok 1261 /checksum/SHA384/149 1101s ok 1262 /checksum/SHA384/150 1101s ok 1263 /checksum/SHA384/151 1101s ok 1264 /checksum/SHA384/152 1101s ok 1265 /checksum/SHA384/153 1101s ok 1266 /checksum/SHA384/154 1101s ok 1267 /checksum/SHA384/155 1101s ok 1268 /checksum/SHA384/156 1101s ok 1269 /checksum/SHA384/157 1101s ok 1270 /checksum/SHA384/158 1101s ok 1271 /checksum/SHA384/159 1101s ok 1272 /checksum/SHA384/160 1101s ok 1273 /checksum/SHA384/161 1101s ok 1274 /checksum/SHA384/162 1101s ok 1275 /checksum/SHA384/163 1101s ok 1276 /checksum/SHA384/164 1101s ok 1277 /checksum/SHA384/165 1101s ok 1278 /checksum/SHA384/166 1101s ok 1279 /checksum/SHA384/167 1101s ok 1280 /checksum/SHA384/168 1101s ok 1281 /checksum/SHA384/169 1101s ok 1282 /checksum/SHA384/170 1101s ok 1283 /checksum/SHA384/171 1101s ok 1284 /checksum/SHA384/172 1101s ok 1285 /checksum/SHA384/173 1101s ok 1286 /checksum/SHA384/174 1101s ok 1287 /checksum/SHA384/175 1101s ok 1288 /checksum/SHA384/176 1101s ok 1289 /checksum/SHA384/177 1101s ok 1290 /checksum/SHA384/178 1101s ok 1291 /checksum/SHA384/179 1101s ok 1292 /checksum/SHA384/180 1101s ok 1293 /checksum/SHA384/181 1101s ok 1294 /checksum/SHA384/182 1101s ok 1295 /checksum/SHA384/183 1101s ok 1296 /checksum/SHA384/string 1101s ok 1297 /checksum/SHA384/bytes 1101s # Start of reset tests 1101s ok 1298 /checksum/SHA384/reset/0 1101s ok 1299 /checksum/SHA384/reset/1 1101s ok 1300 /checksum/SHA384/reset/2 1101s ok 1301 /checksum/SHA384/reset/3 1101s ok 1302 /checksum/SHA384/reset/4 1101s ok 1303 /checksum/SHA384/reset/5 1101s ok 1304 /checksum/SHA384/reset/6 1101s ok 1305 /checksum/SHA384/reset/7 1101s ok 1306 /checksum/SHA384/reset/8 1101s ok 1307 /checksum/SHA384/reset/9 1101s ok 1308 /checksum/SHA384/reset/10 1101s ok 1309 /checksum/SHA384/reset/11 1101s ok 1310 /checksum/SHA384/reset/12 1101s ok 1311 /checksum/SHA384/reset/13 1101s ok 1312 /checksum/SHA384/reset/14 1101s ok 1313 /checksum/SHA384/reset/15 1101s ok 1314 /checksum/SHA384/reset/16 1101s ok 1315 /checksum/SHA384/reset/17 1101s ok 1316 /checksum/SHA384/reset/18 1101s ok 1317 /checksum/SHA384/reset/19 1101s ok 1318 /checksum/SHA384/reset/20 1101s ok 1319 /checksum/SHA384/reset/21 1101s ok 1320 /checksum/SHA384/reset/22 1101s ok 1321 /checksum/SHA384/reset/23 1101s ok 1322 /checksum/SHA384/reset/24 1101s ok 1323 /checksum/SHA384/reset/25 1101s ok 1324 /checksum/SHA384/reset/26 1101s ok 1325 /checksum/SHA384/reset/27 1101s ok 1326 /checksum/SHA384/reset/28 1101s ok 1327 /checksum/SHA384/reset/29 1101s ok 1328 /checksum/SHA384/reset/30 1101s ok 1329 /checksum/SHA384/reset/31 1101s ok 1330 /checksum/SHA384/reset/32 1101s ok 1331 /checksum/SHA384/reset/33 1101s ok 1332 /checksum/SHA384/reset/34 1101s ok 1333 /checksum/SHA384/reset/35 1101s ok 1334 /checksum/SHA384/reset/36 1101s ok 1335 /checksum/SHA384/reset/37 1101s ok 1336 /checksum/SHA384/reset/38 1101s ok 1337 /checksum/SHA384/reset/39 1101s ok 1338 /checksum/SHA384/reset/40 1101s ok 1339 /checksum/SHA384/reset/41 1101s ok 1340 /checksum/SHA384/reset/42 1101s ok 1341 /checksum/SHA384/reset/43 1101s ok 1342 /checksum/SHA384/reset/44 1101s ok 1343 /checksum/SHA384/reset/45 1101s ok 1344 /checksum/SHA384/reset/46 1101s ok 1345 /checksum/SHA384/reset/47 1101s ok 1346 /checksum/SHA384/reset/48 1101s ok 1347 /checksum/SHA384/reset/49 1101s ok 1348 /checksum/SHA384/reset/50 1101s ok 1349 /checksum/SHA384/reset/51 1101s ok 1350 /checksum/SHA384/reset/52 1101s ok 1351 /checksum/SHA384/reset/53 1101s ok 1352 /checksum/SHA384/reset/54 1101s ok 1353 /checksum/SHA384/reset/55 1101s ok 1354 /checksum/SHA384/reset/56 1101s ok 1355 /checksum/SHA384/reset/57 1101s ok 1356 /checksum/SHA384/reset/58 1101s ok 1357 /checksum/SHA384/reset/59 1101s ok 1358 /checksum/SHA384/reset/60 1101s ok 1359 /checksum/SHA384/reset/61 1101s ok 1360 /checksum/SHA384/reset/62 1101s ok 1361 /checksum/SHA384/reset/63 1101s ok 1362 /checksum/SHA384/reset/64 1101s ok 1363 /checksum/SHA384/reset/65 1101s ok 1364 /checksum/SHA384/reset/66 1101s ok 1365 /checksum/SHA384/reset/67 1101s ok 1366 /checksum/SHA384/reset/68 1101s ok 1367 /checksum/SHA384/reset/69 1101s ok 1368 /checksum/SHA384/reset/70 1101s ok 1369 /checksum/SHA384/reset/71 1101s ok 1370 /checksum/SHA384/reset/72 1101s ok 1371 /checksum/SHA384/reset/73 1101s ok 1372 /checksum/SHA384/reset/74 1101s ok 1373 /checksum/SHA384/reset/75 1101s ok 1374 /checksum/SHA384/reset/76 1101s ok 1375 /checksum/SHA384/reset/77 1101s ok 1376 /checksum/SHA384/reset/78 1101s ok 1377 /checksum/SHA384/reset/79 1101s ok 1378 /checksum/SHA384/reset/80 1101s ok 1379 /checksum/SHA384/reset/81 1101s ok 1380 /checksum/SHA384/reset/82 1101s ok 1381 /checksum/SHA384/reset/83 1101s ok 1382 /checksum/SHA384/reset/84 1101s ok 1383 /checksum/SHA384/reset/85 1101s ok 1384 /checksum/SHA384/reset/86 1101s ok 1385 /checksum/SHA384/reset/87 1101s ok 1386 /checksum/SHA384/reset/88 1101s ok 1387 /checksum/SHA384/reset/89 1101s ok 1388 /checksum/SHA384/reset/90 1101s ok 1389 /checksum/SHA384/reset/91 1101s ok 1390 /checksum/SHA384/reset/92 1101s ok 1391 /checksum/SHA384/reset/93 1101s ok 1392 /checksum/SHA384/reset/94 1101s ok 1393 /checksum/SHA384/reset/95 1101s ok 1394 /checksum/SHA384/reset/96 1101s ok 1395 /checksum/SHA384/reset/97 1101s ok 1396 /checksum/SHA384/reset/98 1101s ok 1397 /checksum/SHA384/reset/99 1101s ok 1398 /checksum/SHA384/reset/100 1101s ok 1399 /checksum/SHA384/reset/101 1101s ok 1400 /checksum/SHA384/reset/102 1101s ok 1401 /checksum/SHA384/reset/103 1101s ok 1402 /checksum/SHA384/reset/104 1101s ok 1403 /checksum/SHA384/reset/105 1101s ok 1404 /checksum/SHA384/reset/106 1101s ok 1405 /checksum/SHA384/reset/107 1101s ok 1406 /checksum/SHA384/reset/108 1101s ok 1407 /checksum/SHA384/reset/109 1101s ok 1408 /checksum/SHA384/reset/110 1101s ok 1409 /checksum/SHA384/reset/111 1101s ok 1410 /checksum/SHA384/reset/112 1101s ok 1411 /checksum/SHA384/reset/113 1101s ok 1412 /checksum/SHA384/reset/114 1101s ok 1413 /checksum/SHA384/reset/115 1101s ok 1414 /checksum/SHA384/reset/116 1101s ok 1415 /checksum/SHA384/reset/117 1101s ok 1416 /checksum/SHA384/reset/118 1101s ok 1417 /checksum/SHA384/reset/119 1101s ok 1418 /checksum/SHA384/reset/120 1101s ok 1419 /checksum/SHA384/reset/121 1101s ok 1420 /checksum/SHA384/reset/122 1101s ok 1421 /checksum/SHA384/reset/123 1101s ok 1422 /checksum/SHA384/reset/124 1101s ok 1423 /checksum/SHA384/reset/125 1101s ok 1424 /checksum/SHA384/reset/126 1101s ok 1425 /checksum/SHA384/reset/127 1101s ok 1426 /checksum/SHA384/reset/128 1101s ok 1427 /checksum/SHA384/reset/129 1101s ok 1428 /checksum/SHA384/reset/130 1101s ok 1429 /checksum/SHA384/reset/131 1101s ok 1430 /checksum/SHA384/reset/132 1101s ok 1431 /checksum/SHA384/reset/133 1101s ok 1432 /checksum/SHA384/reset/134 1101s ok 1433 /checksum/SHA384/reset/135 1101s ok 1434 /checksum/SHA384/reset/136 1101s ok 1435 /checksum/SHA384/reset/137 1101s ok 1436 /checksum/SHA384/reset/138 1101s ok 1437 /checksum/SHA384/reset/139 1101s ok 1438 /checksum/SHA384/reset/140 1101s ok 1439 /checksum/SHA384/reset/141 1101s ok 1440 /checksum/SHA384/reset/142 1101s ok 1441 /checksum/SHA384/reset/143 1101s ok 1442 /checksum/SHA384/reset/144 1101s ok 1443 /checksum/SHA384/reset/145 1101s ok 1444 /checksum/SHA384/reset/146 1101s ok 1445 /checksum/SHA384/reset/147 1101s ok 1446 /checksum/SHA384/reset/148 1101s ok 1447 /checksum/SHA384/reset/149 1101s ok 1448 /checksum/SHA384/reset/150 1101s ok 1449 /checksum/SHA384/reset/151 1101s ok 1450 /checksum/SHA384/reset/152 1101s ok 1451 /checksum/SHA384/reset/153 1101s ok 1452 /checksum/SHA384/reset/154 1101s ok 1453 /checksum/SHA384/reset/155 1101s ok 1454 /checksum/SHA384/reset/156 1101s ok 1455 /checksum/SHA384/reset/157 1101s ok 1456 /checksum/SHA384/reset/158 1101s ok 1457 /checksum/SHA384/reset/159 1101s ok 1458 /checksum/SHA384/reset/160 1101s ok 1459 /checksum/SHA384/reset/161 1101s ok 1460 /checksum/SHA384/reset/162 1101s ok 1461 /checksum/SHA384/reset/163 1101s ok 1462 /checksum/SHA384/reset/164 1101s ok 1463 /checksum/SHA384/reset/165 1101s ok 1464 /checksum/SHA384/reset/166 1101s ok 1465 /checksum/SHA384/reset/167 1101s ok 1466 /checksum/SHA384/reset/168 1101s ok 1467 /checksum/SHA384/reset/169 1101s ok 1468 /checksum/SHA384/reset/170 1101s ok 1469 /checksum/SHA384/reset/171 1101s ok 1470 /checksum/SHA384/reset/172 1101s ok 1471 /checksum/SHA384/reset/173 1101s ok 1472 /checksum/SHA384/reset/174 1101s ok 1473 /checksum/SHA384/reset/175 1101s ok 1474 /checksum/SHA384/reset/176 1101s ok 1475 /checksum/SHA384/reset/177 1101s ok 1476 /checksum/SHA384/reset/178 1101s ok 1477 /checksum/SHA384/reset/179 1101s ok 1478 /checksum/SHA384/reset/180 1101s ok 1479 /checksum/SHA384/reset/181 1101s ok 1480 /checksum/SHA384/reset/182 1101s ok 1481 /checksum/SHA384/reset/183 1101s # End of reset tests 1101s # End of SHA384 tests 1101s # Start of SHA512 tests 1101s ok 1482 /checksum/SHA512/0 1101s ok 1483 /checksum/SHA512/1 1101s ok 1484 /checksum/SHA512/2 1101s ok 1485 /checksum/SHA512/3 1101s ok 1486 /checksum/SHA512/4 1101s ok 1487 /checksum/SHA512/5 1101s ok 1488 /checksum/SHA512/6 1101s ok 1489 /checksum/SHA512/7 1101s ok 1490 /checksum/SHA512/8 1101s ok 1491 /checksum/SHA512/9 1101s ok 1492 /checksum/SHA512/10 1101s ok 1493 /checksum/SHA512/11 1101s ok 1494 /checksum/SHA512/12 1101s ok 1495 /checksum/SHA512/13 1101s ok 1496 /checksum/SHA512/14 1101s ok 1497 /checksum/SHA512/15 1101s ok 1498 /checksum/SHA512/16 1101s ok 1499 /checksum/SHA512/17 1101s ok 1500 /checksum/SHA512/18 1101s ok 1501 /checksum/SHA512/19 1101s ok 1502 /checksum/SHA512/20 1101s ok 1503 /checksum/SHA512/21 1101s ok 1504 /checksum/SHA512/22 1101s ok 1505 /checksum/SHA512/23 1101s ok 1506 /checksum/SHA512/24 1101s ok 1507 /checksum/SHA512/25 1101s ok 1508 /checksum/SHA512/26 1101s ok 1509 /checksum/SHA512/27 1101s ok 1510 /checksum/SHA512/28 1101s ok 1511 /checksum/SHA512/29 1101s ok 1512 /checksum/SHA512/30 1101s ok 1513 /checksum/SHA512/31 1101s ok 1514 /checksum/SHA512/32 1101s ok 1515 /checksum/SHA512/33 1101s ok 1516 /checksum/SHA512/34 1101s ok 1517 /checksum/SHA512/35 1101s ok 1518 /checksum/SHA512/36 1101s ok 1519 /checksum/SHA512/37 1101s ok 1520 /checksum/SHA512/38 1101s ok 1521 /checksum/SHA512/39 1101s ok 1522 /checksum/SHA512/40 1101s ok 1523 /checksum/SHA512/41 1101s ok 1524 /checksum/SHA512/42 1101s ok 1525 /checksum/SHA512/43 1101s ok 1526 /checksum/SHA512/44 1101s ok 1527 /checksum/SHA512/45 1101s ok 1528 /checksum/SHA512/46 1101s ok 1529 /checksum/SHA512/47 1101s ok 1530 /checksum/SHA512/48 1101s ok 1531 /checksum/SHA512/49 1101s ok 1532 /checksum/SHA512/50 1101s ok 1533 /checksum/SHA512/51 1101s ok 1534 /checksum/SHA512/52 1101s ok 1535 /checksum/SHA512/53 1101s ok 1536 /checksum/SHA512/54 1101s ok 1537 /checksum/SHA512/55 1101s ok 1538 /checksum/SHA512/56 1101s ok 1539 /checksum/SHA512/57 1101s ok 1540 /checksum/SHA512/58 1101s ok 1541 /checksum/SHA512/59 1101s ok 1542 /checksum/SHA512/60 1101s ok 1543 /checksum/SHA512/61 1101s ok 1544 /checksum/SHA512/62 1101s ok 1545 /checksum/SHA512/63 1101s ok 1546 /checksum/SHA512/64 1101s ok 1547 /checksum/SHA512/65 1101s ok 1548 /checksum/SHA512/66 1101s ok 1549 /checksum/SHA512/67 1101s ok 1550 /checksum/SHA512/68 1101s ok 1551 /checksum/SHA512/69 1101s ok 1552 /checksum/SHA512/70 1101s ok 1553 /checksum/SHA512/71 1101s ok 1554 /checksum/SHA512/72 1101s ok 1555 /checksum/SHA512/73 1101s ok 1556 /checksum/SHA512/74 1101s ok 1557 /checksum/SHA512/75 1101s ok 1558 /checksum/SHA512/76 1101s ok 1559 /checksum/SHA512/77 1101s ok 1560 /checksum/SHA512/78 1101s ok 1561 /checksum/SHA512/79 1101s ok 1562 /checksum/SHA512/80 1101s ok 1563 /checksum/SHA512/81 1101s ok 1564 /checksum/SHA512/82 1101s ok 1565 /checksum/SHA512/83 1101s ok 1566 /checksum/SHA512/84 1101s ok 1567 /checksum/SHA512/85 1101s ok 1568 /checksum/SHA512/86 1101s ok 1569 /checksum/SHA512/87 1101s ok 1570 /checksum/SHA512/88 1101s ok 1571 /checksum/SHA512/89 1101s ok 1572 /checksum/SHA512/90 1101s ok 1573 /checksum/SHA512/91 1101s ok 1574 /checksum/SHA512/92 1101s ok 1575 /checksum/SHA512/93 1101s ok 1576 /checksum/SHA512/94 1101s ok 1577 /checksum/SHA512/95 1101s ok 1578 /checksum/SHA512/96 1101s ok 1579 /checksum/SHA512/97 1101s ok 1580 /checksum/SHA512/98 1101s ok 1581 /checksum/SHA512/99 1101s ok 1582 /checksum/SHA512/100 1101s ok 1583 /checksum/SHA512/101 1101s ok 1584 /checksum/SHA512/102 1101s ok 1585 /checksum/SHA512/103 1101s ok 1586 /checksum/SHA512/104 1101s ok 1587 /checksum/SHA512/105 1101s ok 1588 /checksum/SHA512/106 1101s ok 1589 /checksum/SHA512/107 1101s ok 1590 /checksum/SHA512/108 1101s ok 1591 /checksum/SHA512/109 1101s ok 1592 /checksum/SHA512/110 1101s ok 1593 /checksum/SHA512/111 1101s ok 1594 /checksum/SHA512/112 1101s ok 1595 /checksum/SHA512/113 1101s ok 1596 /checksum/SHA512/114 1101s ok 1597 /checksum/SHA512/115 1101s ok 1598 /checksum/SHA512/116 1101s ok 1599 /checksum/SHA512/117 1101s ok 1600 /checksum/SHA512/118 1101s ok 1601 /checksum/SHA512/119 1101s ok 1602 /checksum/SHA512/120 1101s ok 1603 /checksum/SHA512/121 1101s ok 1604 /checksum/SHA512/122 1101s ok 1605 /checksum/SHA512/123 1101s ok 1606 /checksum/SHA512/124 1101s ok 1607 /checksum/SHA512/125 1101s ok 1608 /checksum/SHA512/126 1101s ok 1609 /checksum/SHA512/127 1101s ok 1610 /checksum/SHA512/128 1101s ok 1611 /checksum/SHA512/129 1101s ok 1612 /checksum/SHA512/130 1101s ok 1613 /checksum/SHA512/131 1101s ok 1614 /checksum/SHA512/132 1101s ok 1615 /checksum/SHA512/133 1101s ok 1616 /checksum/SHA512/134 1101s ok 1617 /checksum/SHA512/135 1101s ok 1618 /checksum/SHA512/136 1101s ok 1619 /checksum/SHA512/137 1101s ok 1620 /checksum/SHA512/138 1101s ok 1621 /checksum/SHA512/139 1101s ok 1622 /checksum/SHA512/140 1101s ok 1623 /checksum/SHA512/141 1101s ok 1624 /checksum/SHA512/142 1101s ok 1625 /checksum/SHA512/143 1101s ok 1626 /checksum/SHA512/144 1101s ok 1627 /checksum/SHA512/145 1101s ok 1628 /checksum/SHA512/146 1101s ok 1629 /checksum/SHA512/147 1101s ok 1630 /checksum/SHA512/148 1101s ok 1631 /checksum/SHA512/149 1101s ok 1632 /checksum/SHA512/150 1101s ok 1633 /checksum/SHA512/151 1101s ok 1634 /checksum/SHA512/152 1101s ok 1635 /checksum/SHA512/153 1101s ok 1636 /checksum/SHA512/154 1101s ok 1637 /checksum/SHA512/155 1101s ok 1638 /checksum/SHA512/156 1101s ok 1639 /checksum/SHA512/157 1101s ok 1640 /checksum/SHA512/158 1101s ok 1641 /checksum/SHA512/159 1101s ok 1642 /checksum/SHA512/160 1101s ok 1643 /checksum/SHA512/161 1101s ok 1644 /checksum/SHA512/162 1101s ok 1645 /checksum/SHA512/163 1101s ok 1646 /checksum/SHA512/164 1101s ok 1647 /checksum/SHA512/165 1101s ok 1648 /checksum/SHA512/166 1101s ok 1649 /checksum/SHA512/167 1101s ok 1650 /checksum/SHA512/168 1101s ok 1651 /checksum/SHA512/169 1101s ok 1652 /checksum/SHA512/170 1101s ok 1653 /checksum/SHA512/171 1101s ok 1654 /checksum/SHA512/172 1101s ok 1655 /checksum/SHA512/173 1101s ok 1656 /checksum/SHA512/174 1101s ok 1657 /checksum/SHA512/175 1101s ok 1658 /checksum/SHA512/176 1101s ok 1659 /checksum/SHA512/177 1101s ok 1660 /checksum/SHA512/178 1101s ok 1661 /checksum/SHA512/179 1101s ok 1662 /checksum/SHA512/180 1101s ok 1663 /checksum/SHA512/181 1101s ok 1664 /checksum/SHA512/182 1101s ok 1665 /checksum/SHA512/183 1101s ok 1666 /checksum/SHA512/string 1101s ok 1667 /checksum/SHA512/bytes 1101s # Start of reset tests 1101s ok 1668 /checksum/SHA512/reset/0 1101s ok 1669 /checksum/SHA512/reset/1 1101s ok 1670 /checksum/SHA512/reset/2 1101s ok 1671 /checksum/SHA512/reset/3 1101s ok 1672 /checksum/SHA512/reset/4 1101s ok 1673 /checksum/SHA512/reset/5 1101s ok 1674 /checksum/SHA512/reset/6 1101s ok 1675 /checksum/SHA512/reset/7 1101s ok 1676 /checksum/SHA512/reset/8 1101s ok 1677 /checksum/SHA512/reset/9 1101s ok 1678 /checksum/SHA512/reset/10 1101s ok 1679 /checksum/SHA512/reset/11 1101s ok 1680 /checksum/SHA512/reset/12 1101s ok 1681 /checksum/SHA512/reset/13 1101s ok 1682 /checksum/SHA512/reset/14 1101s ok 1683 /checksum/SHA512/reset/15 1101s ok 1684 /checksum/SHA512/reset/16 1101s ok 1685 /checksum/SHA512/reset/17 1101s ok 1686 /checksum/SHA512/reset/18 1101s ok 1687 /checksum/SHA512/reset/19 1101s ok 1688 /checksum/SHA512/reset/20 1101s ok 1689 /checksum/SHA512/reset/21 1101s ok 1690 /checksum/SHA512/reset/22 1101s ok 1691 /checksum/SHA512/reset/23 1101s ok 1692 /checksum/SHA512/reset/24 1101s ok 1693 /checksum/SHA512/reset/25 1101s ok 1694 /checksum/SHA512/reset/26 1101s ok 1695 /checksum/SHA512/reset/27 1101s ok 1696 /checksum/SHA512/reset/28 1101s ok 1697 /checksum/SHA512/reset/29 1101s ok 1698 /checksum/SHA512/reset/30 1101s ok 1699 /checksum/SHA512/reset/31 1101s ok 1700 /checksum/SHA512/reset/32 1101s ok 1701 /checksum/SHA512/reset/33 1101s ok 1702 /checksum/SHA512/reset/34 1101s ok 1703 /checksum/SHA512/reset/35 1101s ok 1704 /checksum/SHA512/reset/36 1101s ok 1705 /checksum/SHA512/reset/37 1101s ok 1706 /checksum/SHA512/reset/38 1101s ok 1707 /checksum/SHA512/reset/39 1101s ok 1708 /checksum/SHA512/reset/40 1101s ok 1709 /checksum/SHA512/reset/41 1101s ok 1710 /checksum/SHA512/reset/42 1101s ok 1711 /checksum/SHA512/reset/43 1101s ok 1712 /checksum/SHA512/reset/44 1101s ok 1713 /checksum/SHA512/reset/45 1101s ok 1714 /checksum/SHA512/reset/46 1101s ok 1715 /checksum/SHA512/reset/47 1101s ok 1716 /checksum/SHA512/reset/48 1101s ok 1717 /checksum/SHA512/reset/49 1101s ok 1718 /checksum/SHA512/reset/50 1101s ok 1719 /checksum/SHA512/reset/51 1101s ok 1720 /checksum/SHA512/reset/52 1101s ok 1721 /checksum/SHA512/reset/53 1101s ok 1722 /checksum/SHA512/reset/54 1101s ok 1723 /checksum/SHA512/reset/55 1101s ok 1724 /checksum/SHA512/reset/56 1101s ok 1725 /checksum/SHA512/reset/57 1101s ok 1726 /checksum/SHA512/reset/58 1101s ok 1727 /checksum/SHA512/reset/59 1101s ok 1728 /checksum/SHA512/reset/60 1101s ok 1729 /checksum/SHA512/reset/61 1101s ok 1730 /checksum/SHA512/reset/62 1101s ok 1731 /checksum/SHA512/reset/63 1101s ok 1732 /checksum/SHA512/reset/64 1101s ok 1733 /checksum/SHA512/reset/65 1101s ok 1734 /checksum/SHA512/reset/66 1101s ok 1735 /checksum/SHA512/reset/67 1101s ok 1736 /checksum/SHA512/reset/68 1101s ok 1737 /checksum/SHA512/reset/69 1101s ok 1738 /checksum/SHA512/reset/70 1101s ok 1739 /checksum/SHA512/reset/71 1101s ok 1740 /checksum/SHA512/reset/72 1101s ok 1741 /checksum/SHA512/reset/73 1101s ok 1742 /checksum/SHA512/reset/74 1101s ok 1743 /checksum/SHA512/reset/75 1101s ok 1744 /checksum/SHA512/reset/76 1101s ok 1745 /checksum/SHA512/reset/77 1101s ok 1746 /checksum/SHA512/reset/78 1101s ok 1747 /checksum/SHA512/reset/79 1101s ok 1748 /checksum/SHA512/reset/80 1101s ok 1749 /checksum/SHA512/reset/81 1101s ok 1750 /checksum/SHA512/reset/82 1101s ok 1751 /checksum/SHA512/reset/83 1101s ok 1752 /checksum/SHA512/reset/84 1101s ok 1753 /checksum/SHA512/reset/85 1101s ok 1754 /checksum/SHA512/reset/86 1101s ok 1755 /checksum/SHA512/reset/87 1101s ok 1756 /checksum/SHA512/reset/88 1101s ok 1757 /checksum/SHA512/reset/89 1101s ok 1758 /checksum/SHA512/reset/90 1101s ok 1759 /checksum/SHA512/reset/91 1101s ok 1760 /checksum/SHA512/reset/92 1101s ok 1761 /checksum/SHA512/reset/93 1101s ok 1762 /checksum/SHA512/reset/94 1101s ok 1763 /checksum/SHA512/reset/95 1101s ok 1764 /checksum/SHA512/reset/96 1101s ok 1765 /checksum/SHA512/reset/97 1101s ok 1766 /checksum/SHA512/reset/98 1101s ok 1767 /checksum/SHA512/reset/99 1101s ok 1768 /checksum/SHA512/reset/100 1101s ok 1769 /checksum/SHA512/reset/101 1101s ok 1770 /checksum/SHA512/reset/102 1101s ok 1771 /checksum/SHA512/reset/103 1101s ok 1772 /checksum/SHA512/reset/104 1101s ok 1773 /checksum/SHA512/reset/105 1101s ok 1774 /checksum/SHA512/reset/106 1101s ok 1775 /checksum/SHA512/reset/107 1101s ok 1776 /checksum/SHA512/reset/108 1101s ok 1777 /checksum/SHA512/reset/109 1101s ok 1778 /checksum/SHA512/reset/110 1101s ok 1779 /checksum/SHA512/reset/111 1101s ok 1780 /checksum/SHA512/reset/112 1101s ok 1781 /checksum/SHA512/reset/113 1101s ok 1782 /checksum/SHA512/reset/114 1101s ok 1783 /checksum/SHA512/reset/115 1101s ok 1784 /checksum/SHA512/reset/116 1101s ok 1785 /checksum/SHA512/reset/117 1101s ok 1786 /checksum/SHA512/reset/118 1101s ok 1787 /checksum/SHA512/reset/119 1101s ok 1788 /checksum/SHA512/reset/120 1101s ok 1789 /checksum/SHA512/reset/121 1101s ok 1790 /checksum/SHA512/reset/122 1101s ok 1791 /checksum/SHA512/reset/123 1101s ok 1792 /checksum/SHA512/reset/124 1101s ok 1793 /checksum/SHA512/reset/125 1101s ok 1794 /checksum/SHA512/reset/126 1101s ok 1795 /checksum/SHA512/reset/127 1101s ok 1796 /checksum/SHA512/reset/128 1101s ok 1797 /checksum/SHA512/reset/129 1101s ok 1798 /checksum/SHA512/reset/130 1101s ok 1799 /checksum/SHA512/reset/131 1101s ok 1800 /checksum/SHA512/reset/132 1101s ok 1801 /checksum/SHA512/reset/133 1101s ok 1802 /checksum/SHA512/reset/134 1101s ok 1803 /checksum/SHA512/reset/135 1101s ok 1804 /checksum/SHA512/reset/136 1101s ok 1805 /checksum/SHA512/reset/137 1101s ok 1806 /checksum/SHA512/reset/138 1101s ok 1807 /checksum/SHA512/reset/139 1101s ok 1808 /checksum/SHA512/reset/140 1101s ok 1809 /checksum/SHA512/reset/141 1101s ok 1810 /checksum/SHA512/reset/142 1101s ok 1811 /checksum/SHA512/reset/143 1101s ok 1812 /checksum/SHA512/reset/144 1101s ok 1813 /checksum/SHA512/reset/145 1101s ok 1814 /checksum/SHA512/reset/146 1101s ok 1815 /checksum/SHA512/reset/147 1101s ok 1816 /checksum/SHA512/reset/148 1101s ok 1817 /checksum/SHA512/reset/149 1101s ok 1818 /checksum/SHA512/reset/150 1101s ok 1819 /checksum/SHA512/reset/151 1101s ok 1820 /checksum/SHA512/reset/152 1101s ok 1821 /checksum/SHA512/reset/153 1101s ok 1822 /checksum/SHA512/reset/154 1101s ok 1823 /checksum/SHA512/reset/155 1101s ok 1824 /checksum/SHA512/reset/156 1101s ok 1825 /checksum/SHA512/reset/157 1101s ok 1826 /checksum/SHA512/reset/158 1101s ok 1827 /checksum/SHA512/reset/159 1101s ok 1828 /checksum/SHA512/reset/160 1101s ok 1829 /checksum/SHA512/reset/161 1101s ok 1830 /checksum/SHA512/reset/162 1101s ok 1831 /checksum/SHA512/reset/163 1101s ok 1832 /checksum/SHA512/reset/164 1101s ok 1833 /checksum/SHA512/reset/165 1101s ok 1834 /checksum/SHA512/reset/166 1101s ok 1835 /checksum/SHA512/reset/167 1101s ok 1836 /checksum/SHA512/reset/168 1101s ok 1837 /checksum/SHA512/reset/169 1101s ok 1838 /checksum/SHA512/reset/170 1101s ok 1839 /checksum/SHA512/reset/171 1101s ok 1840 /checksum/SHA512/reset/172 1101s ok 1841 /checksum/SHA512/reset/173 1101s ok 1842 /checksum/SHA512/reset/174 1101s ok 1843 /checksum/SHA512/reset/175 1101s ok 1844 /checksum/SHA512/reset/176 1101s ok 1845 /checksum/SHA512/reset/177 1101s ok 1846 /checksum/SHA512/reset/178 1101s ok 1847 /checksum/SHA512/reset/179 1101s ok 1848 /checksum/SHA512/reset/180 1101s ok 1849 /checksum/SHA512/reset/181 1101s ok 1850 /checksum/SHA512/reset/182 1101s ok 1851 /checksum/SHA512/reset/183 1101s # End of reset tests 1101s # End of SHA512 tests 1101s # End of checksum tests 1101s ok - glib/checksum.test 1101s # Running test: glib/queue.test 1101s TAP version 13 1101s # random seed: R02Saee5a1ff3d8b6a56d4b8bde077910456 1101s 1..12 1101s # Start of queue tests 1101s ok 1 /queue/basic 1101s ok 2 /queue/copy 1102s ok 3 /queue/off-by-one 1102s ok 4 /queue/find-custom 1102s ok 5 /queue/static 1102s ok 6 /queue/clear 1102s ok 7 /queue/free-full 1102s ok 8 /queue/clear-full 1102s ok 9 /queue/insert-sibling-link 1102s ok 10 /queue/push-nth-link 1102s # Start of clear-full tests 1102s ok 11 /queue/clear-full/noop 1102s # End of clear-full tests 1102s # Start of random tests 1102s ok 12 /queue/random/seed:674018252 1102s # End of random tests 1102s # End of queue tests 1102s ok - glib/queue.test 1102s # Running test: glib/completion.test 1102s TAP version 13 1102s # random seed: R02Sc623fb3dceac648a17cc2c0a18cab376 1102s 1..1 1102s # Start of completion tests 1102s ok 1 /completion/test-completion 1102s # End of completion tests 1102s ok - glib/completion.test 1102s # Running test: glib/readwrite.test 1102s TAP version 13 1102s # random seed: R02S8c589a1c52a78a554ace7688209773be 1102s 1..3 1102s # Start of readwrite tests 1102s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1102s ok 1 /readwrite/test_g_file_open_readwrite 1102s ok 2 /readwrite/test_g_file_create_readwrite 1102s ok 3 /readwrite/test_g_file_replace_readwrite 1102s # End of readwrite tests 1102s ok - glib/readwrite.test 1102s # Running test: glib/cxx-14.test 1102s TAP version 13 1102s # random seed: R02S1a30d190d73463eb717640a740f33f97 1102s 1..2 1102s # Start of gtask tests 1102s # 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. 1102s ok 1 /gtask/name 1102s # Start of name tests 1102s # 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. 1102s ok 2 /gtask/name/macro-wrapper 1102s # End of name tests 1102s # End of gtask tests 1102s ok - glib/cxx-14.test 1102s # Running test: glib/spawn-path-search.test 1102s TAP version 13 1102s # random seed: R02S8b776c12284e91783194f2b8305b6a90 1102s 1..7 1102s # Start of spawn tests 1102s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1102s # 1102s # this is spawn-test-helper from glib/tests 1102s # 1102s ok 1 /spawn/do-not-search 1102s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1102s # 1102s # this is spawn-test-helper from path-test-subdir 1102s # 1102s ok 2 /spawn/search-path 1102s # /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. 1102s # 1102s # this is spawn-test-helper from path-test-subdir 1102s # 1102s ok 3 /spawn/search-path-from-envp 1102s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1102s # 1102s # this is spawn-test-helper from path-test-subdir 1102s # 1102s ok 4 /spawn/search-path-ambiguous 1102s # 1102s # this is spawn-test-helper from path-test-subdir 1102s # 1102s ok 5 /spawn/search-path-heap-allocation 1102s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1102s # 1102s # this is spawn-test-helper from glib/tests 1102s # 1102s ok 6 /spawn/search-path-fallback-in-environ 1102s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1102s # 1102s # this is spawn-test-helper from glib/tests 1102s # 1102s ok 7 /spawn/search-path-fallback-in-envp 1102s # End of spawn tests 1102s ok - glib/spawn-path-search.test 1102s # Running test: glib/proxy-test.test 1102s TAP version 13 1102s # random seed: R02Se2bfd27b9ef253ce430a7a23b9b84771 1102s 1..11 1102s # Start of proxy tests 1102s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1102s ok 1 /proxy/direct_sync 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d0980 and GSocketClientAsyncConnectData 0x14709e2c6260 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d1390 for GSocketClientAsyncConnectData 0x14709e2c6260 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s ok 2 /proxy/direct_async 1102s ok 3 /proxy/single_sync 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d2c90 and GSocketClientAsyncConnectData 0x14709e2d1de0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d37f0 for GSocketClientAsyncConnectData 0x14709e2d1de0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s ok 4 /proxy/single_async 1102s ok 5 /proxy/multiple_sync 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d3520 and GSocketClientAsyncConnectData 0x14709e2d32f0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d3e70 for GSocketClientAsyncConnectData 0x14709e2d32f0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d3880 for GSocketClientAsyncConnectData 0x14709e2d32f0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s ok 6 /proxy/multiple_async 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1102s ok 7 /proxy/invalid-uris-sync 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d3c00 and GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1102s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d37f0 and GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1102s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d3c00 and GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d10a0 for GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d2c00 and GSocketClientAsyncConnectData 0x14709e2d2cc0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d18f0 for GSocketClientAsyncConnectData 0x14709e2d2cc0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s ok 8 /proxy/invalid-uris-async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d3520 and GSocketClientAsyncConnectData 0x14709e2d35e0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1102s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1102s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d37f0 and GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d35e0 for GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1102s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d37f0 and GSocketClientAsyncConnectData 0x14709e2d4180 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d2e10 for GSocketClientAsyncConnectData 0x14709e2d4180 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s ok 9 /proxy/dns 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d37f0 and GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d4550 for GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1102s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d37f0 and GSocketClientAsyncConnectData 0x14709e2d3ec0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d4550 for GSocketClientAsyncConnectData 0x14709e2d3ec0 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1102s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1102s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x14709e2d37f0 and GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1102s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x14709e2d4550 for GSocketClientAsyncConnectData 0x14709e2d3100 1102s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1102s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1102s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1102s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1102s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1102s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1102s ok 10 /proxy/override 1102s ok 11 /proxy/enumerator-ports 1102s # End of proxy tests 1102s ok - glib/proxy-test.test 1102s # Running test: glib/dynamictests.test 1102s TAP version 13 1102s # random seed: R02S073f2143e6e06ebfb4155fdce810fb74 1102s 1..2 1102s # Start of GObject tests 1102s ok 1 /GObject/threaded-dynamic-ref-unref-init 1102s ok 2 /GObject/dynamic-interface-properties 1102s # End of GObject tests 1102s ok - glib/dynamictests.test 1102s # Running test: glib/mutex.test 1102s TAP version 13 1102s # random seed: R02S800f1400878b17ee0b3be79c1e39a725 1102s 1..17 1102s # Start of thread tests 1102s ok 1 /thread/mutex1 1102s ok 2 /thread/mutex2 1102s ok 3 /thread/mutex3 1102s ok 4 /thread/mutex4 1102s # Executing: glib/mutex.test 1107s # Executing: glib/mutex.test 1111s ok 5 /thread/mutex5 1111s # slow test /thread/mutex5 executed in 9.01 secs 1111s # Start of mutex tests 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1111s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1112s ok 6 /thread/mutex/errno 1112s # slow test /thread/mutex/errno executed in 0.66 secs 1112s # Start of perf tests 1112s # max perf: inf mips 1112s ok 7 /thread/mutex/perf/uncontended 1112s # Start of contended tests 1112s # max perf: 2.000000 mips 1112s ok 8 /thread/mutex/perf/contended/1 1112s # max perf: 3.000000 mips 1112s ok 9 /thread/mutex/perf/contended/2 1112s # max perf: inf mips 1112s ok 10 /thread/mutex/perf/contended/3 1112s # max perf: 1.666667 mips 1112s ok 11 /thread/mutex/perf/contended/4 1112s # max perf: 6.000000 mips 1112s ok 12 /thread/mutex/perf/contended/5 1112s # max perf: 7.000000 mips 1112s ok 13 /thread/mutex/perf/contended/6 1112s # max perf: 8.000000 mips 1112s ok 14 /thread/mutex/perf/contended/7 1112s # max perf: inf mips 1112s ok 15 /thread/mutex/perf/contended/8 1112s # max perf: 10.000000 mips 1112s ok 16 /thread/mutex/perf/contended/9 1112s # max perf: 11.000000 mips 1112s ok 17 /thread/mutex/perf/contended/10 1112s # End of contended tests 1112s # End of perf tests 1112s # End of mutex tests 1112s # End of thread tests 1112s ok - glib/mutex.test 1112s # Running test: glib/gdbus-names.test 1112s TAP version 13 1112s # random seed: R02Sb2bc82bbb11d42e85bc153210dadb573 1112s 1..10 1112s # Start of gdbus tests 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/validate-names/.dirs/runtime 1112s ok 1 /gdbus/validate-names 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-own-name/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 2 /gdbus/bus-own-name 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 3 /gdbus/bus-watch-name 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 4 /gdbus/bus-watch-name-auto-start 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s dbus-daemon[2432]: [session uid=1000 pid=2432] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=2423 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1112s # Acquired a message bus connection 1112s dbus-daemon[2432]: [session uid=1000 pid=2432] Successfully activated service 'org.gtk.GDBus.FakeService' 1112s # Acquired the name org.gtk.GDBus.FakeService 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 6 /gdbus/bus-watch-name-closures 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 7 /gdbus/bus-watch-name-closures-auto-start 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-watch-different-context/.dirs/runtime 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 8 /gdbus/bus-watch-different-context 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/bus-unwatch-early/.dirs/runtime 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok 9 /gdbus/bus-unwatch-early 1112s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/home 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/cache 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/system-config2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/config 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/system-data2 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/data 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/state 1112s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_UFOTK2/gdbus/escape-object-path/.dirs/runtime 1112s ok 10 /gdbus/escape-object-path 1112s # End of gdbus tests 1112s ok - glib/gdbus-names.test 1112s # Running test: glib/closure-refcount.test 1112s TAP version 13 1112s # random seed: R02Sc3b743c204f210fbf4e43838628f263b 1112s 1..1 1112s # Start of closure tests 1112s # Init 0x25c7126f1d0 1112s # Yielding from main thread 1112s # Yielding from main thread 1112s # Yielding from main thread 1112s # Yielding from thread1 1112s # Yielding from thread2 1112s # Yielding from main thread 1112s # Yielding from main thread 1112s # Yielding from main thread 1112s # Yielding from main thread 1112s # Yielding from thread1 1112s # Executing: glib/closure-refcount.test 1112s # Yielding from thread2 1112s # Yielding from main thread 1112s # Yielding from main thread 1112s # Yielding from main thread 1113s # Yielding from thread1 1113s # Yielding from thread2 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from thread1 1113s # Yielding from thread2 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from thread1 1113s # Yielding from thread2 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from main thread 1113s # Yielding from thread2 1113s # Yielding from thread1 1113s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from thread1 1114s # Yielding from thread2 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from thread1 1114s # Yielding from thread2 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from thread1 1114s # Yielding from thread2 1114s # Yielding from main thread 1114s # Yielding from main thread 1114s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from thread2 1115s # Yielding from thread1 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from thread1 1115s # Yielding from thread2 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from thread2 1115s # Yielding from thread1 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from main thread 1115s # Yielding from thread2 1115s # Yielding from thread1 1115s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from thread2 1116s # Yielding from thread1 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from thread2 1116s # Yielding from thread1 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from thread1 1116s # Yielding from thread2 1116s # Yielding from main thread 1116s # Yielding from main thread 1116s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from thread1 1117s # Yielding from thread2 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from thread2 1117s # Yielding from thread1 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from thread2 1117s # Yielding from thread1 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Executing: glib/closure-refcount.test 1117s # Yielding from main thread 1117s # Yielding from main thread 1117s # Yielding from thread1 1117s # Yielding from thread2 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from thread2 1118s # Yielding from thread1 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from thread2 1118s # Yielding from thread1 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from main thread 1118s # Yielding from thread1 1118s # Yielding from thread2 1118s # Yielding from main thread 1118s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from thread1 1119s # Yielding from thread2 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from thread1 1119s # Yielding from thread2 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from thread1 1119s # Yielding from thread2 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from main thread 1119s # Yielding from thread1 1119s # Yielding from thread2 1119s # Yielding from main thread 1120s # Stopping 1120s # Stopped 1120s ok 1 /closure/refcount 1120s # slow test /closure/refcount executed in 7.86 secs 1120s # End of closure tests 1120s ok - glib/closure-refcount.test 1120s # Running test: glib/unicode.test 1120s TAP version 13 1120s # random seed: R02S3b38d88f580fcfb293fb964f159d8412 1120s 1..39 1120s # Start of unicode tests 1120s ok 1 /unicode/alnum 1120s ok 2 /unicode/alpha 1120s ok 3 /unicode/break-type 1120s ok 4 /unicode/canonical-decomposition 1120s ok 5 /unicode/casefold 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s # Cannot set locale to lt_LT, skipping 1120s ok 6 /unicode/casemap_and_casefold 1120s ok 7 /unicode/cases 1120s ok 8 /unicode/character-type 1120s ok 9 /unicode/cntrl 1120s ok 10 /unicode/combining-class 1120s ok 11 /unicode/compose 1120s ok 12 /unicode/decompose 1120s ok 13 /unicode/decompose-tail 1120s ok 14 /unicode/defined 1120s ok 15 /unicode/digit 1120s ok 16 /unicode/digit-value 1120s ok 17 /unicode/fully-decompose-canonical 1120s ok 18 /unicode/fully-decompose-len 1120s ok 19 /unicode/normalization 1120s ok 20 /unicode/graph 1120s # Testing script Zyyy (code 1517910393) 1120s # Testing script Zinh (code 1516858984) 1120s # Testing script Zmth (code 1517122664) 1120s # Testing script Arab (code 1098015074) 1120s # Testing script Armn (code 1098018158) 1120s # Testing script Beng (code 1113943655) 1120s # Testing script Bopo (code 1114599535) 1120s # Testing script Cher (code 1130915186) 1120s # Testing script Copt (code 1131376756) 1120s # Testing script Cyrl (code 1132032620) 1120s # Testing script Dsrt (code 1148416628) 1120s # Testing script Deva (code 1147500129) 1120s # Testing script Ethi (code 1165256809) 1120s # Testing script Geor (code 1197830002) 1120s # Testing script Goth (code 1198486632) 1120s # Testing script Grek (code 1198679403) 1120s # Testing script Gujr (code 1198877298) 1120s # Testing script Guru (code 1198879349) 1120s # Testing script Hani (code 1214344809) 1120s # Testing script Hang (code 1214344807) 1120s # Testing script Hebr (code 1214603890) 1120s # Testing script Hira (code 1214870113) 1120s # Testing script Knda (code 1265525857) 1120s # Testing script Kana (code 1264676449) 1120s # Testing script Khmr (code 1265134962) 1120s # Testing script Laoo (code 1281453935) 1120s # Testing script Latn (code 1281455214) 1120s # Testing script Mlym (code 1298954605) 1120s # Testing script Mong (code 1299148391) 1120s # Testing script Mymr (code 1299803506) 1120s # Testing script Ogam (code 1332175213) 1120s # Testing script Ital (code 1232363884) 1120s # Testing script Orya (code 1332902241) 1120s # Testing script Runr (code 1383427698) 1120s # Testing script Sinh (code 1399418472) 1120s # Testing script Syrc (code 1400468067) 1120s # Testing script Taml (code 1415671148) 1120s # Testing script Telu (code 1415933045) 1120s # Testing script Thaa (code 1416126817) 1120s # Testing script Thai (code 1416126825) 1120s # Testing script Tibt (code 1416192628) 1120s # Testing script Cans (code 1130458739) 1120s # Testing script Yiii (code 1500080489) 1120s # Testing script Tglg (code 1416064103) 1120s # Testing script Hano (code 1214344815) 1120s # Testing script Buhd (code 1114990692) 1120s # Testing script Tagb (code 1415669602) 1120s # Testing script Brai (code 1114792297) 1120s # Testing script Cprt (code 1131442804) 1120s # Testing script Limb (code 1281977698) 1120s # Testing script Osma (code 1332964705) 1120s # Testing script Shaw (code 1399349623) 1120s # Testing script Linb (code 1281977954) 1120s # Testing script Tale (code 1415670885) 1120s # Testing script Ugar (code 1432838514) 1120s # Testing script Talu (code 1415670901) 1120s # Testing script Bugi (code 1114990441) 1120s # Testing script Glag (code 1198285159) 1120s # Testing script Tfng (code 1415999079) 1120s # Testing script Sylo (code 1400466543) 1120s # Testing script Xpeo (code 1483761007) 1120s # Testing script Khar (code 1265131890) 1120s # Testing script Zzzz (code 1517976186) 1120s # Testing script Bali (code 1113681001) 1120s # Testing script Xsux (code 1483961720) 1120s # Testing script Phnx (code 1349021304) 1120s # Testing script Phag (code 1349017959) 1120s # Testing script Nkoo (code 1315663727) 1120s # Testing script Kali (code 1264675945) 1120s # Testing script Lepc (code 1281716323) 1120s # Testing script Rjng (code 1382706791) 1120s # Testing script Sund (code 1400204900) 1120s # Testing script Saur (code 1398895986) 1120s # Testing script Cham (code 1130914157) 1120s # Testing script Olck (code 1332503403) 1120s # Testing script Vaii (code 1449224553) 1120s # Testing script Cari (code 1130459753) 1120s # Testing script Lyci (code 1283023721) 1120s # Testing script Lydi (code 1283023977) 1120s # Testing script Avst (code 1098281844) 1120s # Testing script Bamu (code 1113681269) 1120s # Testing script Egyp (code 1164409200) 1120s # Testing script Armi (code 1098018153) 1120s # Testing script Phli (code 1349020777) 1120s # Testing script Prti (code 1349678185) 1120s # Testing script Java (code 1247901281) 1120s # Testing script Kthi (code 1265920105) 1120s # Testing script Lisu (code 1281979253) 1120s # Testing script Mtei (code 1299473769) 1120s # Testing script Sarb (code 1398895202) 1120s # Testing script Orkh (code 1332898664) 1120s # Testing script Samr (code 1398893938) 1120s # Testing script Lana (code 1281453665) 1120s # Testing script Tavt (code 1415673460) 1120s # Testing script Batk (code 1113683051) 1120s # Testing script Brah (code 1114792296) 1120s # Testing script Mand (code 1298230884) 1120s # Testing script Cakm (code 1130457965) 1120s # Testing script Merc (code 1298494051) 1120s # Testing script Mero (code 1298494063) 1120s # Testing script Plrd (code 1349284452) 1120s # Testing script Shrd (code 1399353956) 1120s # Testing script Sora (code 1399812705) 1120s # Testing script Takr (code 1415670642) 1120s # Testing script Bass (code 1113682803) 1120s # Testing script Aghb (code 1097295970) 1120s # Testing script Dupl (code 1148547180) 1120s # Testing script Elba (code 1164730977) 1120s # Testing script Gran (code 1198678382) 1120s # Testing script Khoj (code 1265135466) 1120s # Testing script Sind (code 1399418468) 1120s # Testing script Lina (code 1281977953) 1120s # Testing script Mahj (code 1298229354) 1120s # Testing script Mani (code 1298230889) 1120s # Testing script Mend (code 1298493028) 1120s # Testing script Modi (code 1299145833) 1120s # Testing script Mroo (code 1299345263) 1120s # Testing script Nbat (code 1315070324) 1120s # Testing script Narb (code 1315009122) 1120s # Testing script Perm (code 1348825709) 1120s # Testing script Hmng (code 1215131239) 1120s # Testing script Palm (code 1348562029) 1120s # Testing script Pauc (code 1348564323) 1120s # Testing script Phlp (code 1349020784) 1120s # Testing script Sidd (code 1399415908) 1120s # Testing script Tirh (code 1416196712) 1120s # Testing script Wara (code 1466004065) 1120s # Testing script Ahom (code 1097363309) 1120s # Testing script Hluw (code 1215067511) 1120s # Testing script Hatr (code 1214346354) 1120s # Testing script Mult (code 1299541108) 1120s # Testing script Hung (code 1215655527) 1120s # Testing script Sgnw (code 1399287415) 1120s # Testing script Adlm (code 1097100397) 1120s # Testing script Bhks (code 1114139507) 1120s # Testing script Marc (code 1298231907) 1120s # Testing script Newa (code 1315272545) 1120s # Testing script Osge (code 1332963173) 1120s # Testing script Tang (code 1415671399) 1120s # Testing script Gonm (code 1198485101) 1120s # Testing script Nshu (code 1316186229) 1120s # Testing script Soyo (code 1399814511) 1120s # Testing script Zanb (code 1516334690) 1120s # Testing script Dogr (code 1148151666) 1120s # Testing script Gong (code 1198485095) 1120s # Testing script Rohg (code 1383032935) 1120s # Testing script Maka (code 1298230113) 1120s # Testing script Medf (code 1298490470) 1120s # Testing script Sogo (code 1399809903) 1120s # Testing script Sogd (code 1399809892) 1120s # Testing script Elym (code 1164736877) 1120s # Testing script Nand (code 1315008100) 1120s # Testing script Hmnp (code 1215131248) 1120s # Testing script Wcho (code 1466132591) 1120s # Testing script Chrs (code 1130918515) 1120s # Testing script Diak (code 1147756907) 1120s # Testing script Kits (code 1265202291) 1120s # Testing script Yezi (code 1499822697) 1120s # Testing script Cpmn (code 1131441518) 1120s # Testing script Ougr (code 1333094258) 1120s # Testing script Tnsa (code 1416524641) 1120s # Testing script Toto (code 1416590447) 1120s # Testing script Vith (code 1449751656) 1120s # Testing script Kawi (code 1264678761) 1120s # Testing script Nagm (code 1315006317) 1120s ok 21 /unicode/iso15924 1120s ok 22 /unicode/lower 1120s ok 23 /unicode/mark 1120s ok 24 /unicode/mirror 1120s ok 25 /unicode/print 1120s ok 26 /unicode/punctuation 1120s ok 27 /unicode/script 1120s ok 28 /unicode/space 1120s ok 29 /unicode/strdown 1120s ok 30 /unicode/strup 1120s ok 31 /unicode/turkish-strupdown 1120s ok 32 /unicode/title 1120s ok 33 /unicode/upper 1120s ok 34 /unicode/validate 1120s ok 35 /unicode/wide 1120s ok 36 /unicode/xdigit 1120s ok 37 /unicode/xdigit-value 1120s ok 38 /unicode/zero-width 1120s ok 39 /unicode/normalize 1120s # End of unicode tests 1120s ok - glib/unicode.test 1120s # Running test: glib/portal-support-flatpak-none.test 1120s TAP version 13 1120s # random seed: R02S672a9e6fa198c4dbac6a3629a89c6fe3 1120s 1..1 1120s # Start of portal-support tests 1120s # Start of flatpak tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/runtime 1120s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_CZXTK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1120s ok 1 /portal-support/flatpak/none 1120s # End of flatpak tests 1120s # End of portal-support tests 1120s ok - glib/portal-support-flatpak-none.test 1120s # Running test: glib/gdbus-peer.test 1120s TAP version 13 1120s # random seed: R02Sd245afb81aa07c89c1285d06cd668d54 1120s 1..12 1120s # Start of gdbus tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/.dirs/runtime 1120s # Testing with unix:dir address 1120s # Testing with unix:tmpdir address 1120s # Testing with unix:path address 1120s ok 1 /gdbus/peer-to-peer 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/delayed-message-processing/.dirs/runtime 1120s # Testing with unix:dir address 1120s ok 2 /gdbus/delayed-message-processing 1120s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/nonce-tcp/.dirs/runtime 1120s ok 3 /gdbus/nonce-tcp 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/tcp-anonymous/.dirs/runtime 1120s ok 4 /gdbus/tcp-anonymous 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/credentials/.dirs/runtime 1120s ok 5 /gdbus/credentials 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1120s # Testing with unix:dir address 1120s # Machine ID: 8622559d44284c56a28da3e390641cfb 1121s ok 6 /gdbus/codegen-peer-to-peer 1121s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1121s # Start of peer-to-peer tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/signals/.dirs/runtime 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1121s # Testing with unix:dir address 1121s ok 7 /gdbus/peer-to-peer/signals 1121s # Start of invalid tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1121s ok 8 /gdbus/peer-to-peer/invalid/server 1121s # Start of conn tests 1121s # Start of stream tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1121s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1121s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1121s # End of stream tests 1121s # Start of addr tests 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1121s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1121s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1121s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_JZTTK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1121s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1121s # End of addr tests 1121s # End of conn tests 1121s # End of invalid tests 1121s # End of peer-to-peer tests 1121s # End of gdbus tests 1121s ok - glib/gdbus-peer.test 1121s # Running test: glib/private.test 1121s TAP version 13 1121s # random seed: R02S8b2cb8c2f75edc26c4473cded2ea3569 1121s 1..8 1121s # Start of thread tests 1121s ok 1 /thread/private1 1122s # Executing: glib/private.test 1122s ok 2 /thread/private2 1122s # slow test /thread/private2 executed in 1.09 secs 1122s ok 3 /thread/private3 1122s ok 4 /thread/staticprivate1 1122s ok 5 /thread/staticprivate2 1122s ok 6 /thread/staticprivate3 1123s ok 7 /thread/staticprivate4 1123s # slow test /thread/staticprivate4 executed in 1.10 secs 1123s ok 8 /thread/staticprivate5 1123s # End of thread tests 1123s ok - glib/private.test 1123s # Running test: glib/gobject-query.py.test 1124s TAP version 13 1124s ok 1 __main__.TestGobjectQuery.test_froots 1124s # gobject-query: /usr/bin/gobject-query 1124s # Running: ['/usr/bin/gobject-query', 'froots'] 1124s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1124s # Output: ├void 1124s # ├GInterface 1124s # │ └GTypePlugin 1124s # ├gchar 1124s # ├guchar 1124s # ├gboolean 1124s # ├gint 1124s # ├guint 1124s # ├glong 1124s # ├gulong 1124s # ├gint64 1124s # ├guint64 1124s # ├GEnum 1124s # ├GFlags 1124s # ├gfloat 1124s # ├gdouble 1124s # ├gchararray 1124s # ├gpointer 1124s # │ └GType 1124s # ├GBoxed 1124s # │ └GValueArray 1124s # ├GParam 1124s # │ ├GParamChar 1124s # │ ├GParamUChar 1124s # │ ├GParamBoolean 1124s # │ ├GParamInt 1124s # │ ├GParamUInt 1124s # │ ├GParamLong 1124s # │ ├GParamULong 1124s # │ ├GParamInt64 1124s # │ ├GParamUInt64 1124s # │ ├GParamUnichar 1124s # │ ├GParamEnum 1124s # │ ├GParamFlags 1124s # │ ├GParamFloat 1124s # │ ├GParamDouble 1124s # │ ├GParamString 1124s # │ ├GParamParam 1124s # │ ├GParamBoxed 1124s # │ ├GParamPointer 1124s # │ ├GParamValueArray 1124s # │ ├GParamObject 1124s # │ ├GParamOverride 1124s # │ ├GParamGType 1124s # │ └GParamVariant 1124s # ├GObject 1124s # └GVariant 1124s ok 2 __main__.TestGobjectQuery.test_help 1124s # gobject-query: /usr/bin/gobject-query 1124s # Running: ['/usr/bin/gobject-query', '--help'] 1124s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1124s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1124s # -r specify root type 1124s # -n don't descend type tree 1124s # -h show help 1124s # -b specify indent string 1124s # -i specify incremental indent string 1124s # -s specify line spacing 1124s # qualifiers: 1124s # froots iterate over fundamental roots 1124s # tree print type tree 1124s ok 3 __main__.TestGobjectQuery.test_tree 1124s # gobject-query: /usr/bin/gobject-query 1124s # Running: ['/usr/bin/gobject-query', 'tree'] 1124s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1124s # Output: GObject 1124s ok 4 __main__.TestGobjectQuery.test_version 1124s # gobject-query: /usr/bin/gobject-query 1124s # Running: ['/usr/bin/gobject-query', '--version'] 1124s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1124s # Output: 2.79.2 1124s 1..4 1124s ok - glib/gobject-query.py.test 1124s # Running test: glib/mem-overflow.test 1124s TAP version 13 1124s # random seed: R02S5036a929af8b4f40d30c2a25f56b2eb3 1124s 1..2 1124s # Start of mem tests 1124s ok 1 /mem/overflow 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1124s ok 2 /mem/empty-alloc 1124s # Start of overflow tests 1124s # Start of subprocess tests 1124s # End of subprocess tests 1124s # End of overflow tests 1124s # Start of empty-alloc tests 1124s # End of empty-alloc tests 1124s # End of mem tests 1124s ok - glib/mem-overflow.test 1124s # Running test: glib/object.test 1124s TAP version 13 1124s # random seed: R02Sdac3e6b971b6c9f411391d4e8062253e 1124s 1..2 1124s # Start of object tests 1124s # Start of constructor tests 1124s ok 1 /object/constructor/singleton 1124s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1124s # End of constructor tests 1124s # End of object tests 1124s ok - glib/object.test 1124s # Running test: glib/utf8-validate.test 1124s TAP version 13 1124s # random seed: R02S3820ae9d70ecda7fa988bcb1007ecbb9 1124s 1..216 1124s # Start of utf8 tests 1124s # Vector 0 1124s # Vector 1 1124s # Vector 2 1124s # Vector 3 1124s # Vector 4 1124s # Vector 5 1124s # Vector 6 1124s # Vector 7 1124s # Vector 8 1124s # Vector 9 1124s # Vector 10 1124s # Vector 11 1124s # Vector 12 1124s # Vector 13 1124s # Vector 14 1124s # Vector 15 1124s # Vector 16 1124s # Vector 17 1124s # Vector 18 1124s # Vector 19 1124s # Vector 20 1124s # Vector 21 1124s # Vector 22 1124s # Vector 23 1124s # Vector 24 1124s # Vector 25 1124s # Vector 26 1124s # Vector 27 1124s ok 1 /utf8/get-char-validated 1124s # Start of validate tests 1124s ok 2 /utf8/validate/0 1124s ok 3 /utf8/validate/1 1124s ok 4 /utf8/validate/2 1124s ok 5 /utf8/validate/3 1124s ok 6 /utf8/validate/4 1124s ok 7 /utf8/validate/5 1124s ok 8 /utf8/validate/6 1124s ok 9 /utf8/validate/7 1124s ok 10 /utf8/validate/8 1124s ok 11 /utf8/validate/9 1124s ok 12 /utf8/validate/10 1124s ok 13 /utf8/validate/11 1124s ok 14 /utf8/validate/12 1124s ok 15 /utf8/validate/13 1124s ok 16 /utf8/validate/14 1124s ok 17 /utf8/validate/15 1124s ok 18 /utf8/validate/16 1124s ok 19 /utf8/validate/17 1124s ok 20 /utf8/validate/18 1124s ok 21 /utf8/validate/19 1124s ok 22 /utf8/validate/20 1124s ok 23 /utf8/validate/21 1124s ok 24 /utf8/validate/22 1124s ok 25 /utf8/validate/23 1124s ok 26 /utf8/validate/24 1124s ok 27 /utf8/validate/25 1124s ok 28 /utf8/validate/26 1124s ok 29 /utf8/validate/27 1124s ok 30 /utf8/validate/28 1124s ok 31 /utf8/validate/29 1124s ok 32 /utf8/validate/30 1124s ok 33 /utf8/validate/31 1124s ok 34 /utf8/validate/32 1124s ok 35 /utf8/validate/33 1124s ok 36 /utf8/validate/34 1124s ok 37 /utf8/validate/35 1124s ok 38 /utf8/validate/36 1124s ok 39 /utf8/validate/37 1124s ok 40 /utf8/validate/38 1124s ok 41 /utf8/validate/39 1124s ok 42 /utf8/validate/40 1124s ok 43 /utf8/validate/41 1124s ok 44 /utf8/validate/42 1124s ok 45 /utf8/validate/43 1124s ok 46 /utf8/validate/44 1124s ok 47 /utf8/validate/45 1124s ok 48 /utf8/validate/46 1124s ok 49 /utf8/validate/47 1124s ok 50 /utf8/validate/48 1124s ok 51 /utf8/validate/49 1124s ok 52 /utf8/validate/50 1124s ok 53 /utf8/validate/51 1124s ok 54 /utf8/validate/52 1124s ok 55 /utf8/validate/53 1124s ok 56 /utf8/validate/54 1124s ok 57 /utf8/validate/55 1124s ok 58 /utf8/validate/56 1124s ok 59 /utf8/validate/57 1124s ok 60 /utf8/validate/58 1124s ok 61 /utf8/validate/59 1124s ok 62 /utf8/validate/60 1124s ok 63 /utf8/validate/61 1124s ok 64 /utf8/validate/62 1124s ok 65 /utf8/validate/63 1124s ok 66 /utf8/validate/64 1124s ok 67 /utf8/validate/65 1124s ok 68 /utf8/validate/66 1124s ok 69 /utf8/validate/67 1124s ok 70 /utf8/validate/68 1124s ok 71 /utf8/validate/69 1124s ok 72 /utf8/validate/70 1124s ok 73 /utf8/validate/71 1124s ok 74 /utf8/validate/72 1124s ok 75 /utf8/validate/73 1124s ok 76 /utf8/validate/74 1124s ok 77 /utf8/validate/75 1124s ok 78 /utf8/validate/76 1124s ok 79 /utf8/validate/77 1124s ok 80 /utf8/validate/78 1124s ok 81 /utf8/validate/79 1124s ok 82 /utf8/validate/80 1124s ok 83 /utf8/validate/81 1124s ok 84 /utf8/validate/82 1124s ok 85 /utf8/validate/83 1124s ok 86 /utf8/validate/84 1124s ok 87 /utf8/validate/85 1124s ok 88 /utf8/validate/86 1124s ok 89 /utf8/validate/87 1124s ok 90 /utf8/validate/88 1124s ok 91 /utf8/validate/89 1124s ok 92 /utf8/validate/90 1124s ok 93 /utf8/validate/91 1124s ok 94 /utf8/validate/92 1124s ok 95 /utf8/validate/93 1124s ok 96 /utf8/validate/94 1124s ok 97 /utf8/validate/95 1124s ok 98 /utf8/validate/96 1124s ok 99 /utf8/validate/97 1124s ok 100 /utf8/validate/98 1124s ok 101 /utf8/validate/99 1124s ok 102 /utf8/validate/100 1124s ok 103 /utf8/validate/101 1124s ok 104 /utf8/validate/102 1124s ok 105 /utf8/validate/103 1124s ok 106 /utf8/validate/104 1124s ok 107 /utf8/validate/105 1124s ok 108 /utf8/validate/106 1124s ok 109 /utf8/validate/107 1124s ok 110 /utf8/validate/108 1124s ok 111 /utf8/validate/109 1124s ok 112 /utf8/validate/110 1124s ok 113 /utf8/validate/111 1124s ok 114 /utf8/validate/112 1124s ok 115 /utf8/validate/113 1124s ok 116 /utf8/validate/114 1124s ok 117 /utf8/validate/115 1124s ok 118 /utf8/validate/116 1124s ok 119 /utf8/validate/117 1124s ok 120 /utf8/validate/118 1124s ok 121 /utf8/validate/119 1124s ok 122 /utf8/validate/120 1124s ok 123 /utf8/validate/121 1124s ok 124 /utf8/validate/122 1124s ok 125 /utf8/validate/123 1124s ok 126 /utf8/validate/124 1124s ok 127 /utf8/validate/125 1124s ok 128 /utf8/validate/126 1124s ok 129 /utf8/validate/127 1124s ok 130 /utf8/validate/128 1124s ok 131 /utf8/validate/129 1124s ok 132 /utf8/validate/130 1124s ok 133 /utf8/validate/131 1124s ok 134 /utf8/validate/132 1124s ok 135 /utf8/validate/133 1124s ok 136 /utf8/validate/134 1124s ok 137 /utf8/validate/135 1124s ok 138 /utf8/validate/136 1124s ok 139 /utf8/validate/137 1124s ok 140 /utf8/validate/138 1124s ok 141 /utf8/validate/139 1124s ok 142 /utf8/validate/140 1124s ok 143 /utf8/validate/141 1124s ok 144 /utf8/validate/142 1124s ok 145 /utf8/validate/143 1124s ok 146 /utf8/validate/144 1124s ok 147 /utf8/validate/145 1124s ok 148 /utf8/validate/146 1124s ok 149 /utf8/validate/147 1124s ok 150 /utf8/validate/148 1124s ok 151 /utf8/validate/149 1124s ok 152 /utf8/validate/150 1124s ok 153 /utf8/validate/151 1124s ok 154 /utf8/validate/152 1124s ok 155 /utf8/validate/153 1124s ok 156 /utf8/validate/154 1124s ok 157 /utf8/validate/155 1124s ok 158 /utf8/validate/156 1124s ok 159 /utf8/validate/157 1124s ok 160 /utf8/validate/158 1124s ok 161 /utf8/validate/159 1124s ok 162 /utf8/validate/160 1124s ok 163 /utf8/validate/161 1124s ok 164 /utf8/validate/162 1124s ok 165 /utf8/validate/163 1124s ok 166 /utf8/validate/164 1124s ok 167 /utf8/validate/165 1124s ok 168 /utf8/validate/166 1124s ok 169 /utf8/validate/167 1124s ok 170 /utf8/validate/168 1124s ok 171 /utf8/validate/169 1124s ok 172 /utf8/validate/170 1124s ok 173 /utf8/validate/171 1124s ok 174 /utf8/validate/172 1124s ok 175 /utf8/validate/173 1124s ok 176 /utf8/validate/174 1124s ok 177 /utf8/validate/175 1124s ok 178 /utf8/validate/176 1124s ok 179 /utf8/validate/177 1124s ok 180 /utf8/validate/178 1124s ok 181 /utf8/validate/179 1124s ok 182 /utf8/validate/180 1124s ok 183 /utf8/validate/181 1124s ok 184 /utf8/validate/182 1124s ok 185 /utf8/validate/183 1124s ok 186 /utf8/validate/184 1124s ok 187 /utf8/validate/185 1124s ok 188 /utf8/validate/186 1124s ok 189 /utf8/validate/187 1124s ok 190 /utf8/validate/188 1124s ok 191 /utf8/validate/189 1124s ok 192 /utf8/validate/190 1124s ok 193 /utf8/validate/191 1124s ok 194 /utf8/validate/192 1124s ok 195 /utf8/validate/193 1124s ok 196 /utf8/validate/194 1124s ok 197 /utf8/validate/195 1124s ok 198 /utf8/validate/196 1124s ok 199 /utf8/validate/197 1124s ok 200 /utf8/validate/198 1124s ok 201 /utf8/validate/199 1124s ok 202 /utf8/validate/200 1124s ok 203 /utf8/validate/201 1124s ok 204 /utf8/validate/202 1124s ok 205 /utf8/validate/203 1124s ok 206 /utf8/validate/204 1124s ok 207 /utf8/validate/205 1124s ok 208 /utf8/validate/206 1124s ok 209 /utf8/validate/207 1124s ok 210 /utf8/validate/208 1124s ok 211 /utf8/validate/209 1124s ok 212 /utf8/validate/210 1124s ok 213 /utf8/validate/211 1124s ok 214 /utf8/validate/212 1124s ok 215 /utf8/validate/213 1124s ok 216 /utf8/validate/214 1124s # End of validate tests 1124s # End of utf8 tests 1124s ok - glib/utf8-validate.test 1124s # Running test: glib/gdbus-peer-object-manager.test 1124s TAP version 13 1124s # random seed: R02Sc8575cbd159a3c66bd159a2b2de945d7 1124s 1..2 1124s # Start of gdbus tests 1124s # Start of peer-object-manager tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/normal/.dirs/runtime 1124s ok 1 /gdbus/peer-object-manager/normal 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_LZVVK2/gdbus/peer-object-manager/root/.dirs/runtime 1124s ok 2 /gdbus/peer-object-manager/root 1124s # End of peer-object-manager tests 1124s # End of gdbus tests 1124s ok - glib/gdbus-peer-object-manager.test 1124s # Running test: glib/pathbuf.test 1124s TAP version 13 1124s # random seed: R02Sdc62d6b6ed7992dc09ae4deca670b527 1124s 1..3 1124s # Start of pathbuf tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_JLBUK2/pathbuf/init/.dirs/runtime 1124s # Initializing empty path buf 1124s # Initializing with empty path 1124s # Initializing with full path 1124s # Initializing with no path 1124s # Allocating GPathBuf on the heap 1124s ok 1 /pathbuf/init 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_JLBUK2/pathbuf/push-pop/.dirs/runtime 1124s # Pushing relative path component 1124s # Pushing absolute path component 1124s # Popping a path component 1124s # Can't pop the last element of a path buffer 1124s ok 2 /pathbuf/push-pop 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_JLBUK2/pathbuf/filename-extension/.dirs/runtime 1124s ok 3 /pathbuf/filename-extension 1124s # End of pathbuf tests 1124s ok - glib/pathbuf.test 1124s # Running test: glib/hook.test 1124s TAP version 13 1124s # random seed: R02S84ee1e1272b189a604ee96d9c57b8401 1124s 1..2 1124s # Start of hook tests 1124s ok 1 /hook/basics 1124s ok 2 /hook/corner-cases 1124s # End of hook tests 1124s ok - glib/hook.test 1124s # Running test: glib/network-address.test 1124s TAP version 13 1124s # random seed: R02Sb2180644700cbacc303a81909a849277 1124s 1..72 1124s # Start of network-address tests 1124s ok 1 /network-address/basic 1124s ok 2 /network-address/scope-id 1124s ok 3 /network-address/uri-scope-id 1124s ok 4 /network-address/to-string 1124s # Start of parse-host tests 1124s ok 5 /network-address/parse-host/0 1124s ok 6 /network-address/parse-host/1 1124s ok 7 /network-address/parse-host/2 1124s ok 8 /network-address/parse-host/3 1124s ok 9 /network-address/parse-host/4 1124s ok 10 /network-address/parse-host/5 1124s ok 11 /network-address/parse-host/6 1124s ok 12 /network-address/parse-host/7 1124s ok 13 /network-address/parse-host/8 1124s ok 14 /network-address/parse-host/9 1124s ok 15 /network-address/parse-host/10 1124s ok 16 /network-address/parse-host/11 1124s ok 17 /network-address/parse-host/12 1124s ok 18 /network-address/parse-host/13 1124s # End of parse-host tests 1124s # Start of parse-uri tests 1124s ok 19 /network-address/parse-uri/0 1124s ok 20 /network-address/parse-uri/1 1124s ok 21 /network-address/parse-uri/2 1124s ok 22 /network-address/parse-uri/3 1124s ok 23 /network-address/parse-uri/4 1124s ok 24 /network-address/parse-uri/5 1124s ok 25 /network-address/parse-uri/6 1124s ok 26 /network-address/parse-uri/7 1124s ok 27 /network-address/parse-uri/8 1124s ok 28 /network-address/parse-uri/9 1124s # End of parse-uri tests 1124s # Start of resolve-address tests 1124s # Input: 192.168.1.2 1124s ok 29 /network-address/resolve-address/0 1124s # Input: fe80::42 1124s ok 30 /network-address/resolve-address/1 1124s # Input: 192.168.1.2:80 1124s ok 31 /network-address/resolve-address/2 1124s # Input: [fe80::42] 1124s ok 32 /network-address/resolve-address/3 1124s # Input: [fe80::42]:80 1124s ok 33 /network-address/resolve-address/4 1124s # Input: 192.168.258 1124s ok 34 /network-address/resolve-address/5 1124s # Input: 192.11010306 1124s ok 35 /network-address/resolve-address/6 1124s # Input: 3232235778 1124s ok 36 /network-address/resolve-address/7 1124s # Input: 0300.0250.0001.0001 1124s ok 37 /network-address/resolve-address/8 1124s # Input: 0xC0.0xA8.0x01.0x02 1124s ok 38 /network-address/resolve-address/9 1124s # Input: 0xc0.0xa8.0x01.0x02 1124s ok 39 /network-address/resolve-address/10 1124s # Input: 0xc0a80102 1124s ok 40 /network-address/resolve-address/11 1124s # End of resolve-address tests 1124s # Start of loopback tests 1124s ok 41 /network-address/loopback/basic 1124s ok 42 /network-address/loopback/sync 1124s ok 43 /network-address/loopback/async 1124s # End of loopback tests 1124s # Start of localhost tests 1124s ok 44 /network-address/localhost/async 1124s ok 45 /network-address/localhost/sync 1124s # End of localhost tests 1124s # Start of happy-eyeballs tests 1124s ok 46 /network-address/happy-eyeballs/basic 1124s ok 47 /network-address/happy-eyeballs/parallel 1124s ok 48 /network-address/happy-eyeballs/slow-ipv4 1124s ok 49 /network-address/happy-eyeballs/slow-ipv6 1124s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1125s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1125s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1125s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1125s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1125s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1125s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1125s # /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. 1125s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1125s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1125s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1125s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1125s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1125s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1125s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1125s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1125s ok 57 /network-address/happy-eyeballs/both-error 1125s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1125s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1125s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1125s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1125s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1125s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1125s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1125s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1125s # End of happy-eyeballs tests 1125s # End of network-address tests 1125s # Start of gresolver tests 1125s # Start of resolve-address tests 1125s # Input: 192.168.1.2 1125s ok 61 /gresolver/resolve-address/0 1125s # Input: fe80::42 1125s ok 62 /gresolver/resolve-address/1 1125s # Input: 192.168.1.2:80 1125s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1125s ok 63 /gresolver/resolve-address/2 1125s # Input: [fe80::42] 1125s # Error: Error resolving ?[fe80::42]?: Name or service not known 1125s ok 64 /gresolver/resolve-address/3 1125s # Input: [fe80::42]:80 1125s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1125s ok 65 /gresolver/resolve-address/4 1125s # Input: 192.168.258 1125s # Error: Error resolving ?192.168.258?: Name or service not known 1125s ok 66 /gresolver/resolve-address/5 1125s # Input: 192.11010306 1125s # Error: Error resolving ?192.11010306?: Name or service not known 1125s ok 67 /gresolver/resolve-address/6 1125s # Input: 3232235778 1125s # Error: Error resolving ?3232235778?: Name or service not known 1125s ok 68 /gresolver/resolve-address/7 1125s # Input: 0300.0250.0001.0001 1125s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1125s ok 69 /gresolver/resolve-address/8 1125s # Input: 0xC0.0xA8.0x01.0x02 1125s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1125s ok 70 /gresolver/resolve-address/9 1125s # Input: 0xc0.0xa8.0x01.0x02 1125s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1125s ok 71 /gresolver/resolve-address/10 1125s # Input: 0xc0a80102 1125s # Error: Error resolving ?0xc0a80102?: Name or service not known 1125s ok 72 /gresolver/resolve-address/11 1125s # End of resolve-address tests 1125s # End of gresolver tests 1125s ok - glib/network-address.test 1125s # Running test: glib/cxx.test 1125s TAP version 13 1125s # random seed: R02S70a544b8e30ea5564e6514f8d33a2d94 1125s 1..2 1125s # Start of gtask tests 1125s # 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. 1125s ok 1 /gtask/name 1125s # Start of name tests 1125s # 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. 1125s ok 2 /gtask/name/macro-wrapper 1125s # End of name tests 1125s # End of gtask tests 1125s ok - glib/cxx.test 1125s # Running test: glib/gdbus-non-socket.test 1125s TAP version 13 1125s # random seed: R02S684756f3bee1e40b148c2133bc726c81 1125s 1..1 1125s # Start of gdbus tests 1125s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/home 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/cache 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/system-config2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/config 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/system-data2 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/data 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/state 1125s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_PL8IK2/gdbus/non-socket/.dirs/runtime 1125s ok 1 /gdbus/non-socket 1125s # End of gdbus tests 1125s ok - glib/gdbus-non-socket.test 1125s # Running test: glib/messages-low-memory.py.test 1125s TAP version 13 1125s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1125s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1125s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1125s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1125s # Return code: -6 1125s # Output: 1125s # Error: GLib-Message: 11:54:51.715: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1125s # GLib-Message: 11:54:51.715: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1125s # ../../../glib/gprintf.c:350: failed to allocate memory 1125s 1..1 1125s ok - glib/messages-low-memory.py.test 1125s # Running test: glib/glistmodel.test 1125s TAP version 13 1125s # random seed: R02Scb5bf0f7537ac4cd2a69fbe5a9d888b5 1125s 1..18 1125s # Start of glistmodel tests 1125s # Start of store tests 1125s ok 1 /glistmodel/store/properties 1125s ok 2 /glistmodel/store/non-gobjects 1125s ok 3 /glistmodel/store/boundaries 1125s ok 4 /glistmodel/store/refcounts 1125s ok 5 /glistmodel/store/sorted 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1125s ok 6 /glistmodel/store/splice-replace-middle 1125s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1125s ok 7 /glistmodel/store/splice-replace-all 1125s ok 8 /glistmodel/store/splice-noop 1125s ok 9 /glistmodel/store/splice-remove-multiple 1125s ok 10 /glistmodel/store/splice-add-multiple 1125s ok 11 /glistmodel/store/splice-wrong-type 1125s ok 12 /glistmodel/store/item-type 1125s ok 13 /glistmodel/store/remove-all 1125s ok 14 /glistmodel/store/sort 1125s ok 15 /glistmodel/store/get-item-cache 1125s ok 16 /glistmodel/store/items-changed 1125s ok 17 /glistmodel/store/past-end 1125s ok 18 /glistmodel/store/find 1125s # End of store tests 1125s # End of glistmodel tests 1125s ok - glib/glistmodel.test 1125s # Running test: glib/thread-deprecated.test 1125s TAP version 13 1125s # random seed: R02S4c03bbaebb4e0afaafdc4f6262a5d752 1125s 1..6 1125s # Start of thread tests 1125s ok 1 /thread/mutex 1126s ok 2 /thread/static-rec-mutex 1127s # Executing: glib/thread-deprecated.test 1130s ok 3 /thread/static-private 1130s # slow test /thread/static-private executed in 4.40 secs 1132s # Executing: glib/thread-deprecated.test 1135s ok 4 /thread/static-rw-lock 1135s # slow test /thread/static-rw-lock executed in 5.00 secs 1135s ok 5 /thread/once 1137s # Executing: glib/thread-deprecated.test 1142s # Executing: glib/thread-deprecated.test 1145s ok 6 /thread/rerun-all 1145s # slow test /thread/rerun-all executed in 10.02 secs 1145s # End of thread tests 1145s ok - glib/thread-deprecated.test 1145s # Running test: glib/rand.test 1145s TAP version 13 1145s # random seed: R02Sbae826e0062aed2f32525078899942fd 1145s 1..2 1145s # Start of rand tests 1145s ok 1 /rand/test-rand 1145s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1145s ok 2 /rand/double-range 1145s # End of rand tests 1145s ok - glib/rand.test 1145s # Running test: glib/gobject-private.test 1145s TAP version 13 1145s # random seed: R02S9ef078a7cdb57cd9c180eda29db43579 1145s 1..3 1145s # Start of private tests 1145s ok 1 /private/instance 1145s ok 2 /private/derived-instance 1145s ok 3 /private/mixed-derived-instance 1145s # End of private tests 1145s ok - glib/gobject-private.test 1145s # Running test: glib/file.test 1145s TAP version 13 1145s # random seed: R02See459a70232ebdf7242468f4d5eff2dd 1145s 1..50 1145s # Start of file tests 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/basic/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/basic/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/basic/.dirs/system-config1:/tmp/test_file_BZJOK2/file/basic/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/basic/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/basic/.dirs/system-data1:/tmp/test_file_BZJOK2/file/basic/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/basic/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/basic/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/basic/.dirs/runtime 1145s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1145s ok 1 /file/basic 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/build-filename/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/build-filename/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/build-filename/.dirs/system-config1:/tmp/test_file_BZJOK2/file/build-filename/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/build-filename/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/build-filename/.dirs/system-data1:/tmp/test_file_BZJOK2/file/build-filename/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/build-filename/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/build-filename/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/build-filename/.dirs/runtime 1145s ok 2 /file/build-filename 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_BZJOK2/file/build-filenamev/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_BZJOK2/file/build-filenamev/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/build-filenamev/.dirs/runtime 1145s ok 3 /file/build-filenamev 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/parent/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/parent/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/parent/.dirs/system-config1:/tmp/test_file_BZJOK2/file/parent/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/parent/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/parent/.dirs/system-data1:/tmp/test_file_BZJOK2/file/parent/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/parent/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/parent/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/parent/.dirs/runtime 1145s ok 4 /file/parent 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/child/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/child/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/child/.dirs/system-config1:/tmp/test_file_BZJOK2/file/child/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/child/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/child/.dirs/system-data1:/tmp/test_file_BZJOK2/file/child/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/child/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/child/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/child/.dirs/runtime 1145s ok 5 /file/child 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/empty-path/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/empty-path/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/empty-path/.dirs/system-config1:/tmp/test_file_BZJOK2/file/empty-path/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/empty-path/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/empty-path/.dirs/system-data1:/tmp/test_file_BZJOK2/file/empty-path/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/empty-path/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/empty-path/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/empty-path/.dirs/runtime 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1145s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1145s ok 6 /file/empty-path 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/type/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/type/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/type/.dirs/system-config1:/tmp/test_file_BZJOK2/file/type/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/type/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/type/.dirs/system-data1:/tmp/test_file_BZJOK2/file/type/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/type/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/type/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/type/.dirs/runtime 1145s ok 7 /file/type 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/parse-name/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/parse-name/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/parse-name/.dirs/system-config1:/tmp/test_file_BZJOK2/file/parse-name/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/parse-name/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/parse-name/.dirs/system-data1:/tmp/test_file_BZJOK2/file/parse-name/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/parse-name/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/parse-name/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/parse-name/.dirs/runtime 1145s ok 8 /file/parse-name 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/replace-load/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/replace-load/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/replace-load/.dirs/system-config1:/tmp/test_file_BZJOK2/file/replace-load/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/replace-load/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/replace-load/.dirs/system-data1:/tmp/test_file_BZJOK2/file/replace-load/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/replace-load/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/replace-load/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/replace-load/.dirs/runtime 1145s ok 9 /file/replace-load 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_BZJOK2/file/replace-cancel/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_BZJOK2/file/replace-cancel/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/replace-cancel/.dirs/runtime 1145s # Bug Reference: https://bugzilla.gnome.org/629301 1145s ok 10 /file/replace-cancel 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_BZJOK2/file/replace-symlink/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_BZJOK2/file/replace-symlink/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/replace-symlink/.dirs/runtime 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1145s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1145s # Using temporary directory /tmp/test_file_BZJOK2/g_file_replace_symlink_99AOK2 1145s ok 11 /file/replace-symlink 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-new-tmp/.dirs/runtime 1145s ok 12 /file/async-new-tmp 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-new-tmp-dir/.dirs/runtime 1145s ok 13 /file/async-new-tmp-dir 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-delete/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-delete/.dirs/cache 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-delete/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-delete/.dirs/system-config2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-delete/.dirs/config 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-delete/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-delete/.dirs/system-data2 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-delete/.dirs/data 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-delete/.dirs/state 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-delete/.dirs/runtime 1145s ok 14 /file/async-delete 1145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/home 1145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-make-symlink/.dirs/runtime 1146s ok 15 /file/async-make-symlink 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/copy-preserve-mode/.dirs/runtime 1146s # Current umask: 2 1146s # Vector 0 1146s # Vector 1 1146s # Vector 2 1146s # Vector 3 1146s # Vector 4 1146s # Vector 5 1146s # Vector 6 1146s # Vector 7 1146s # Vector 8 1146s # Vector 9 1146s # Vector 10 1146s ok 16 /file/copy-preserve-mode 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/measure/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/measure/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/measure/.dirs/system-config1:/tmp/test_file_BZJOK2/file/measure/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/measure/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/measure/.dirs/system-data1:/tmp/test_file_BZJOK2/file/measure/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/measure/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/measure/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/measure/.dirs/runtime 1146s ok 17 /file/measure 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/measure-async/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/measure-async/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/measure-async/.dirs/system-config1:/tmp/test_file_BZJOK2/file/measure-async/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/measure-async/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/measure-async/.dirs/system-data1:/tmp/test_file_BZJOK2/file/measure-async/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/measure-async/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/measure-async/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/measure-async/.dirs/runtime 1146s ok 18 /file/measure-async 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_BZJOK2/file/load-bytes/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_BZJOK2/file/load-bytes/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/load-bytes/.dirs/runtime 1146s ok 19 /file/load-bytes 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/load-bytes-async/.dirs/runtime 1146s ok 20 /file/load-bytes-async 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/.dirs/runtime 1146s ok 21 /file/writev 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/build-attribute-list-for-copy/.dirs/runtime 1146s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1146s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1146s # 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::* 1146s # 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::* 1146s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1146s # Attributes for copy: standard::size,xattr::* 1146s # Attributes for copy: standard::size,unix::mode,xattr::* 1146s ok 22 /file/build-attribute-list-for-copy 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/move_async/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/move_async/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/move_async/.dirs/system-config1:/tmp/test_file_BZJOK2/file/move_async/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/move_async/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/move_async/.dirs/system-data1:/tmp/test_file_BZJOK2/file/move_async/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/move_async/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/move_async/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/move_async/.dirs/runtime 1146s ok 23 /file/move_async 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/query-zero-length-content-type/.dirs/runtime 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1146s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1146s ok 24 /file/query-zero-length-content-type 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/runtime 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/data/applications 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/config 1146s ok 25 /file/query-default-handler-file 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/runtime 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/data/applications 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/config 1146s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BZJOK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/config 1146s ok 26 /file/query-default-handler-file-async 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/runtime 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/data/applications 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/config 1146s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BZJOK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/config 1146s ok 27 /file/query-default-handler-uri 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/runtime 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/data/applications 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/config 1146s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_BZJOK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/config 1146s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_BZJOK2/file/query-default-handler-uri-async/.dirs/config 1146s ok 28 /file/query-default-handler-uri-async 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/enumerator-cancellation/.dirs/runtime 1146s ok 29 /file/enumerator-cancellation 1146s # Start of async-create-delete tests 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-create-delete/0/.dirs/runtime 1146s ok 30 /file/async-create-delete/0 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-create-delete/1/.dirs/runtime 1146s ok 31 /file/async-create-delete/1 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-create-delete/10/.dirs/runtime 1146s ok 32 /file/async-create-delete/10 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-create-delete/25/.dirs/runtime 1146s ok 33 /file/async-create-delete/25 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/async-create-delete/4096/.dirs/runtime 1146s ok 34 /file/async-create-delete/4096 1146s # End of async-create-delete tests 1146s # Start of replace-symlink tests 1146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/home 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/cache 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/system-config2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/config 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/system-data2 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/data 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/state 1146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/replace-symlink/using-etag/.dirs/runtime 1146s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1146s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1146s # Using temporary directory /tmp/test_file_BZJOK2/g_file_replace_symlink_using_etag_L2IWK2 1147s # Executing: glib/file.test 1148s ok 35 /file/replace-symlink/using-etag 1148s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1148s # End of replace-symlink tests 1148s # Start of replace tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_BZJOK2/file/replace/write-only/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_BZJOK2/file/replace/write-only/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/replace/write-only/.dirs/runtime 1148s # /file/replace/write-only summary: Test various situations for g_file_replace() 1148s # Current umask: 2 1148s # Test 0, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_G0TXK2 1148s # Test 1, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_JCUXK2 1148s # Test 2, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_FGSXK2 1148s # Test 3, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_L0RXK2 1148s # Test 4, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_7TRXK2 1148s # Test 5, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_GXQXK2 1148s # Test 6, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_4DPXK2 1148s # Test 7, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_WOOXK2 1148s # Test 8, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_GHNXK2 1148s # Test 9, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_C3NXK2 1148s # Test 10, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_V3MXK2 1148s # Test 11, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_ZCLXK2 1148s # Test 12, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_DOLXK2 1148s # Test 13, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_OJLXK2 1148s # Test 14, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_VVIXK2 1148s # Test 15, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_FFIXK2 1148s # Test 16, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_7MGXK2 1148s # Test 17, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_HBEXK2 1148s # Test 18, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_4ODXK2 1148s # Test 19, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_4YCXK2 1148s # Test 20, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_SXAXK2 1148s # Test 21, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_YTAXK2 1148s # Test 22, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_AO8WK2 1148s # Test 23, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_3K8WK2 1148s # Test 24, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_F87WK2 1148s # Test 25, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_A65WK2 1148s # Test 26, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_AI6WK2 1148s # Test 27, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_KM5WK2 1148s # Test 28, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_KBC1K2 1148s # Test 29, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_6VB1K2 1148s # Test 30, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_4NA1K2 1148s # Test 31, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_OBB1K2 1148s # Test 32, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_NBA1K2 1148s # Test 33, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_PF80K2 1148s # Test 34, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_3P80K2 1148s # Test 35, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_TS70K2 1148s # Test 36, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_8P60K2 1148s # Test 37, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_O540K2 1148s # Test 38, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_BS40K2 1148s # Test 39, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_W020K2 1148s # Test 40, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_7M20K2 1148s # Test 41, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_CR10K2 1148s # Test 42, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_ZNZ0K2 1148s # Test 43, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_M9Y0K2 1148s # Test 44, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_PBX0K2 1148s # Test 45, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_90X0K2 1148s # Test 46, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_HVW0K2 1148s # Test 47, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_WWV0K2 1148s # Test 48, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_17V0K2 1148s # We do not have CAP_DAC_OVERRIDE or equivalent 1148s ok 36 /file/replace/write-only 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_BZJOK2/file/replace/read-write/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_BZJOK2/file/replace/read-write/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/replace/read-write/.dirs/runtime 1148s # /file/replace/read-write summary: Test various situations for g_file_replace() 1148s # Current umask: 2 1148s # Test 0, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_VGV0K2 1148s # Test 1, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_FGU0K2 1148s # Test 2, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_UZT0K2 1148s # Test 3, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_G4S0K2 1148s # Test 4, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_5CS0K2 1148s # Test 5, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_C8R0K2 1148s # Test 6, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_9DQ0K2 1148s # Test 7, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_4FP0K2 1148s # Test 8, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_PXO0K2 1148s # Test 9, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_N9O0K2 1148s # Test 10, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_8L11K2 1148s # Test 11, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_G8Z1K2 1148s # Test 12, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_MP01K2 1148s # Test 13, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_YLZ1K2 1148s # Test 14, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_Q2Y1K2 1148s # Test 15, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_3YW1K2 1148s # Test 16, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_ILW1K2 1148s # Test 17, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_FJU1K2 1148s # Test 18, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_Z4T1K2 1148s # Test 19, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_ZHT1K2 1148s # Test 20, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_6NR1K2 1148s # Test 21, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_1LQ1K2 1148s # Test 22, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_RJQ1K2 1148s # Test 23, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_FBQ1K2 1148s # Test 24, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_WGO1K2 1148s # Test 25, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_DQN1K2 1148s # Test 26, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_43N1K2 1148s # Test 27, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_WYN1K2 1148s # Test 28, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_23L1K2 1148s # Test 29, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_7OL1K2 1148s # Test 30, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_JHK1K2 1148s # Test 31, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_S9J1K2 1148s # Test 32, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_C8J1K2 1148s # Test 33, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_U8I1K2 1148s # Test 34, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_Y8H1K2 1148s # Test 35, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_NII1K2 1148s # Test 36, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_EVH1K2 1148s # Test 37, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_ISWZK2 1148s # Test 38, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_ONUZK2 1148s # Test 39, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_5KUZK2 1148s # Test 40, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_DJSZK2 1148s # Test 41, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_Y4RZK2 1148s # Test 42, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_5GRZK2 1148s # Test 43, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_8BPZK2 1148s # Test 44, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_AFOZK2 1148s # Test 45, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_23OZK2 1148s # Test 46, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_VZNZK2 1148s # Test 47, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_E0MZK2 1148s # Test 48, using temporary directory /tmp/test_file_BZJOK2/g_file_replace_H2LZK2 1148s # We do not have CAP_DAC_OVERRIDE or equivalent 1148s ok 37 /file/replace/read-write 1148s # End of replace tests 1148s # Start of copy tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_BZJOK2/file/copy/progress/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_BZJOK2/file/copy/progress/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/copy/progress/.dirs/runtime 1148s ok 38 /file/copy/progress 1148s # End of copy tests 1148s # Start of writev tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/no-bytes-written/.dirs/runtime 1148s ok 39 /file/writev/no-bytes-written 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/no-vectors/.dirs/runtime 1148s ok 40 /file/writev/no-vectors 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/empty-vectors/.dirs/runtime 1148s ok 41 /file/writev/empty-vectors 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/too-big-vectors/.dirs/runtime 1148s ok 42 /file/writev/too-big-vectors 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/async/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/async/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/async/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/async/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/async/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/async/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/async/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/async/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/async/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/async/.dirs/runtime 1148s ok 43 /file/writev/async 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/async_all/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/async_all/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/async_all/.dirs/runtime 1148s ok 44 /file/writev/async_all 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/async_all-empty-vectors/.dirs/runtime 1148s ok 45 /file/writev/async_all-empty-vectors 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/async_all-no-vectors/.dirs/runtime 1148s ok 46 /file/writev/async_all-no-vectors 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1148s ok 47 /file/writev/async_all-to-big-vectors 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/writev/async_all-cancellation/.dirs/runtime 1148s ok 48 /file/writev/async_all-cancellation 1148s # End of writev tests 1148s # Start of from-uri tests 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/from-uri/ignores-query-string/.dirs/runtime 1148s ok 49 /file/from-uri/ignores-query-string 1148s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/home 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/cache 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/system-config2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/config 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/system-data2 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/data 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/state 1148s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_BZJOK2/file/from-uri/ignores-fragment/.dirs/runtime 1148s ok 50 /file/from-uri/ignores-fragment 1148s # End of from-uri tests 1148s # End of file tests 1148s ok - glib/file.test 1148s # Running test: glib/gapplication.test 1148s TAP version 13 1148s # random seed: R02S0b07f8086dce21f613b9f91c98fce33a 1148s 1..24 1148s # Start of gapplication tests 1148s ok 1 /gapplication/no-dbus 1148s ok 2 /gapplication/no-appid 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 3 /gapplication/properties 1148s ok 4 /gapplication/app-id 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 5 /gapplication/quit 1148s ok 6 /gapplication/registered 1148s ok 7 /gapplication/local-actions 1148s ok 8 /gapplication/local-command-line 1148s ok 9 /gapplication/resource-path 1148s ok 10 /gapplication/test-help 1148s ok 11 /gapplication/command-line-done 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 12 /gapplication/test-busy 1148s ok 13 /gapplication/test-handle-local-options1 1148s ok 14 /gapplication/test-handle-local-options2 1148s ok 15 /gapplication/test-handle-local-options3 1148s ok 16 /gapplication/api 1148s ok 17 /gapplication/version 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # launching subprocess 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 18 /gapplication/replace 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # launching subprocess 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 19 /gapplication/no-replace 1148s # slow test /gapplication/no-replace executed in 0.51 secs 1148s # Start of dbus tests 1148s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # Message 0 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 1 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 2 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 20 /gapplication/dbus/activate 1148s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # Message 0 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1148s # Message 1 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 2 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 3 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 21 /gapplication/dbus/open 1148s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # Message 0 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 1 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 2 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 22 /gapplication/dbus/command-line 1148s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 23 /gapplication/dbus/command-line-done 1148s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1148s # Message 0 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 1 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 2 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 3 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 4 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # Message 5 1148s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1148s ok 24 /gapplication/dbus/activate-action 1148s # End of dbus tests 1148s # End of gapplication tests 1148s ok - glib/gapplication.test 1148s # Running test: glib/threadtests.test 1148s TAP version 13 1148s # random seed: R02S038030caafaebf7c263c72ada35bbb1f 1148s 1..5 1148s # Start of GObject tests 1149s ok 1 /GObject/threaded-object-init 1149s ok 2 /GObject/threaded-weak-ref 1149s # slow test /GObject/threaded-weak-ref executed in 0.75 secs 1149s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1149s # /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 1152s # Executing: glib/threadtests.test 1155s ok 3 /GObject/threaded-toggle-notify 1155s # slow test /GObject/threaded-toggle-notify executed in 5.69 secs 1155s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1155s # Start of threaded-weak-ref tests 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1155s # /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. 1155s ok 5 /GObject/threaded-weak-ref/on-finalization 1155s # End of threaded-weak-ref tests 1155s # End of GObject tests 1155s ok - glib/threadtests.test 1155s # Running test: glib/singleton.test 1155s TAP version 13 1155s # random seed: R02Sf03cb5473c4e61e5f1730b430335078f 1155s 1..2 1155s # Start of gobject tests 1155s # Start of singleton tests 1155s ok 1 /gobject/singleton/construction 1155s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1155s ok 2 /gobject/singleton/construct-property 1155s # End of singleton tests 1155s # End of gobject tests 1155s ok - glib/singleton.test 1155s # Running test: glib/trash.test 1155s TAP version 13 1155s # random seed: R02S95f593eab8c46b6d5568ea83691b05b8 1155s 1..2 1155s # Start of trash tests 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1155s # File: /tmp/test-trashZMA2K2 (parent st_dev: 2049) 1155s # Home: /home/ubuntu (st_dev: 2049) 1155s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1155s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1155s # End of trash tests 1155s ok - glib/trash.test 1155s # Running test: glib/giomodule.test 1155s TAP version 13 1155s # random seed: R02Sd584479638d757ae8a6e01a76584488a 1155s 1..3 1155s # Start of giomodule tests 1155s ok 1 /giomodule/extension-point 1155s ok 2 /giomodule/module-scan-all 1155s ok 3 /giomodule/module-scan-all-with-scope 1155s # End of giomodule tests 1155s ok - glib/giomodule.test 1155s # Running test: glib/gsocketclient-slow.test 1155s TAP version 13 1155s # random seed: R02S87ebd3242d121203d6ca6bf3d636687b 1155s 1..3 1155s # Start of socket-client tests 1155s # Start of happy-eyeballs tests 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaa28730cad0 and GSocketClientAsyncConnectData 0xaa2873062a0 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaa28730e1e0 for GSocketClientAsyncConnectData 0xaa2873062a0 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1156s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1156s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1156s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1156s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1156s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1156s ok 1 /socket-client/happy-eyeballs/slow 1156s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1156s # Start of cancellation tests 1156s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaa287311900 and GSocketClientAsyncConnectData 0xaa28730d9f0 1156s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1156s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1156s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1156s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaa2873106f0 and GSocketClientAsyncConnectData 0xaa2873062a0 1156s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1156s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1156s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaa287312550 for GSocketClientAsyncConnectData 0xaa2873062a0 1156s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1156s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1156s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1156s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1156s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1156s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1156s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1156s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1156s # End of cancellation tests 1156s # End of happy-eyeballs tests 1156s # End of socket-client tests 1156s ok - glib/gsocketclient-slow.test 1156s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1156s TAP version 13 1156s # random seed: R02Scd9da3ec8982d5a021f6446c4ff6f309 1156s 1..8 1156s # Start of gdbus tests 1156s # Start of codegen tests 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/annotations/.dirs/runtime 1156s ok 1 /gdbus/codegen/annotations 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/interface_stability/.dirs/runtime 1156s ok 2 /gdbus/codegen/interface_stability 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/object-manager/.dirs/runtime 1156s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1156s ok 3 /gdbus/codegen/object-manager 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/property-naming/.dirs/runtime 1156s ok 4 /gdbus/codegen/property-naming 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/autocleanups/.dirs/runtime 1156s ok 5 /gdbus/codegen/autocleanups 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/deprecations/.dirs/runtime 1156s ok 6 /gdbus/codegen/deprecations 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1156s ok 7 /gdbus/codegen/standalone-interface-info 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_IOLNK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1156s ok 8 /gdbus/codegen/unix-fd-list 1156s # End of codegen tests 1156s # End of gdbus tests 1156s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1156s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1156s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1156s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1156s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1156s ok - glib/gdbus-test-codegen-min-required-2-64.test 1156s # Running test: glib/ifaceproperties.test 1156s TAP version 13 1156s # random seed: R02S715d45c5734b88223b7524e794e94141 1156s 1..7 1156s # Start of interface tests 1156s # Start of properties tests 1156s ok 1 /interface/properties/set 1156s ok 2 /interface/properties/notify 1156s ok 3 /interface/properties/find-overridden 1156s ok 4 /interface/properties/list-overridden 1156s ok 5 /interface/properties/find-interface 1156s ok 6 /interface/properties/list-interface 1156s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1156s ok 7 /interface/properties/not-overridden 1156s # End of properties tests 1156s # End of interface tests 1156s ok - glib/ifaceproperties.test 1156s # Running test: glib/portal-support-flatpak-full.test 1156s TAP version 13 1156s # random seed: R02S6f1fb72449e85ba773f604775dd68bc9 1156s 1..1 1156s # Start of portal-support tests 1156s # Start of flatpak tests 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/runtime 1156s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_EZ9LK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1156s ok 1 /portal-support/flatpak/full 1156s # End of flatpak tests 1156s # End of portal-support tests 1156s ok - glib/portal-support-flatpak-full.test 1156s # Running test: glib/cxx-2b.test 1156s TAP version 13 1156s # random seed: R02S672ca2ea5625ce0ae00561f56a31d8a4 1156s 1..2 1156s # Start of gtask tests 1156s # 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. 1156s ok 1 /gtask/name 1156s # Start of name tests 1156s # 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. 1156s ok 2 /gtask/name/macro-wrapper 1156s # End of name tests 1156s # End of gtask tests 1156s ok - glib/cxx-2b.test 1156s # Running test: glib/properties.test 1156s TAP version 13 1156s # random seed: R02S77b98fcb6778cb19b4905be6ebabe16a 1156s 1..13 1156s # Start of properties tests 1156s ok 1 /properties/install 1156s ok 2 /properties/install-many 1156s ok 3 /properties/notify 1156s ok 4 /properties/notify-queue 1156s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1156s ok 5 /properties/construct 1156s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1156s # Test g_object_get_property with an initialized value 1156s # Test g_object_get_property with an uninitialized value 1156s # Test g_object_get_property with a transformable value 1156s ok 6 /properties/get-property 1156s ok 7 /properties/testv_with_no_properties 1156s ok 8 /properties/testv_with_valid_properties 1156s ok 9 /properties/testv_with_invalid_property_type 1156s ok 10 /properties/testv_with_invalid_property_names 1156s ok 11 /properties/testv_getv 1156s ok 12 /properties/testv_notify_queue 1156s # Start of set-property tests 1156s # Start of variant tests 1156s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1156s ok 13 /properties/set-property/variant/floating 1156s # End of variant tests 1156s # End of set-property tests 1156s # End of properties tests 1156s ok - glib/properties.test 1156s # Running test: glib/gmenumodel.test 1156s TAP version 13 1156s # random seed: R02Sd9c501aa73ab00bf53e46c4803b11a9e 1156s 1..14 1156s # Start of gmenu tests 1157s # Executing: glib/gmenumodel.test 1158s ok 1 /gmenu/equality 1158s # slow test /gmenu/equality executed in 1.77 secs 1160s ok 2 /gmenu/random 1160s # slow test /gmenu/random executed in 2.34 secs 1160s ok 3 /gmenu/attributes 1160s ok 4 /gmenu/links 1160s ok 5 /gmenu/mutable 1160s ok 6 /gmenu/convenience 1160s ok 7 /gmenu/menuitem 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1161s ok 8 /gmenu/input-validation 1161s # Start of dbus tests 1161s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1162s ok 9 /gmenu/dbus/roundtrip 1162s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1162s ok 10 /gmenu/dbus/subscriptions 1162s # Executing: glib/gmenumodel.test 1165s ok 11 /gmenu/dbus/threaded 1165s # slow test /gmenu/dbus/threaded executed in 2.52 secs 1165s # Start of peer tests 1166s ok 12 /gmenu/dbus/peer/roundtrip 1166s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1166s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1166s # End of peer tests 1166s # End of dbus tests 1166s # Start of attributes tests 1166s ok 14 /gmenu/attributes/iterate 1166s # End of attributes tests 1166s # End of gmenu tests 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1166s ok - glib/gmenumodel.test 1166s # Running test: glib/gdbus-proxy.test 1166s TAP version 13 1166s # random seed: R02S90eea9799b532de97d8a9bd081248877 1166s 1..5 1166s # Start of gdbus tests 1166s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/home 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/cache 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/system-config2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/config 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/system-data2 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/data 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/state 1166s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/.dirs/runtime 1166s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1167s # Executing: glib/gdbus-proxy.test 1167s ok 1 /gdbus/proxy 1167s # slow test /gdbus/proxy executed in 1.73 secs 1167s # Start of proxy tests 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-properties/.dirs/runtime 1167s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1167s ok 2 /gdbus/proxy/no-properties 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1167s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1167s ok 3 /gdbus/proxy/wellknown-noauto 1167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/home 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/cache 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/system-config2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/config 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/system-data2 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/data 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/state 1167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/async/.dirs/runtime 1167s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1169s ok 4 /gdbus/proxy/async 1169s # slow test /gdbus/proxy/async executed in 1.73 secs 1169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/home 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/cache 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/config 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/data 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/state 1169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_445TK2/gdbus/proxy/no-match-rule/.dirs/runtime 1169s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1169s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1171s ok 5 /gdbus/proxy/no-match-rule 1171s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1171s # End of proxy tests 1171s # End of gdbus tests 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s ok - glib/gdbus-proxy.test 1171s # Running test: glib/debugcontroller.test 1171s TAP version 13 1171s # random seed: R02S657ffbefb460d5ee457d42eb5f24f495 1171s 1..3 1171s # Start of debug-controller tests 1171s # Start of dbus tests 1171s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1171s # GLib-GIO-DEBUG: Debug output enabled 1171s # GLib-GIO-DEBUG: Debug output disabled 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s ok 1 /debug-controller/dbus/basic 1171s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1171s ok 2 /debug-controller/dbus/duplicate 1171s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1171s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1171s # End of dbus tests 1171s # End of debug-controller tests 1171s ok - glib/debugcontroller.test 1171s # Running test: glib/hostutils.test 1171s TAP version 13 1171s # random seed: R02S2a5f6bc768f624c258821ffe610ab260 1171s 1..3 1171s # Start of hostutils tests 1171s ok 1 /hostutils/to_ascii 1171s ok 2 /hostutils/to_unicode 1171s ok 3 /hostutils/is_ip_addr 1171s # End of hostutils tests 1171s ok - glib/hostutils.test 1171s # Running test: glib/slist.test 1171s TAP version 13 1171s # random seed: R02Sd144e1698a3e296fd0a1ae989babc66c 1171s 1..14 1171s # Start of slist tests 1171s ok 1 /slist/sort 1171s ok 2 /slist/sort-with-data 1171s ok 3 /slist/insert-sorted 1171s ok 4 /slist/insert-sorted-with-data 1171s ok 5 /slist/reverse 1171s ok 6 /slist/nth 1171s ok 7 /slist/remove 1171s ok 8 /slist/remove-all 1171s ok 9 /slist/insert 1171s ok 10 /slist/position 1171s ok 11 /slist/concat 1171s ok 12 /slist/copy 1171s # Start of sort tests 1171s ok 13 /slist/sort/stable 1171s # End of sort tests 1171s # Start of copy tests 1171s ok 14 /slist/copy/deep 1171s # End of copy tests 1171s # End of slist tests 1171s ok - glib/slist.test 1171s # Running test: glib/gthash.test 1171s TAP version 13 1171s # random seed: R02Sa1fe5d09409619e4d05f3d2e80749ce7 1171s 1..1 1171s # Start of gthash tests 1171s ok 1 /gthash/build-retrieve 1171s # End of gthash tests 1171s ok - glib/gthash.test 1171s # Running test: glib/gdbus-server-auth.test 1171s TAP version 13 1171s # random seed: R02Se2d8b24da9add71a8cfa86ff904f37d8 1171s 1..9 1171s # Start of gdbus tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/.dirs/runtime 1171s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-DKS1K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1171s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-DKS1K2/dbus-dH9Ld6Lq 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7814 1171s ok 1 /gdbus/server-auth 1171s # Start of server-auth tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/abstract/.dirs/runtime 1171s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-2XE1K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1171s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-2XE1K2/dbus-kC1uqnNA 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1171s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1171s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7814 1171s ok 2 /gdbus/server-auth/abstract 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/tcp/.dirs/runtime 1171s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1171s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/.dirs/runtime 1171s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-RPNZK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1171s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-RPNZK2/dbus-fRnIl0eJ 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7814 1171s ok 4 /gdbus/server-auth/anonymous 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/.dirs/runtime 1171s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-1BF0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1171s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-1BF0K2/dbus-0cfduebX 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7814 1171s ok 5 /gdbus/server-auth/external 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/.dirs/runtime 1171s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-CU0ZK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1171s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1171s # Start of anonymous tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1171s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1171s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1171s # End of anonymous tests 1171s # Start of external tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1171s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-S6ZZK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1171s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_J6S1K2/gdbus-server-auth-S6ZZK2/dbus-WC7Whqrf 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7814 1171s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1171s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1171s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1171s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7814,uid=1000,gid=1000 1171s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7814 1171s ok 8 /gdbus/server-auth/external/require-same-user 1171s # End of external tests 1171s # Start of sha1 tests 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_J6S1K2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1171s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1171s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1171s # End of sha1 tests 1171s # End of server-auth tests 1171s # End of gdbus tests 1171s ok - glib/gdbus-server-auth.test 1171s # Running test: glib/protocol.test 1171s TAP version 13 1171s # random seed: R02S90b56d3466817b682470215482b531e5 1171s 1..9 1171s # Start of glib tests 1171s # Start of testing tests 1171s # Start of protocol tests 1171s ok 1 /glib/testing/protocol/debug 1171s ok 2 /glib/testing/protocol/info 1171s ok 3 /glib/testing/protocol/message 1171s ok 4 /glib/testing/protocol/warning 1171s ok 5 /glib/testing/protocol/critical 1171s ok 6 /glib/testing/protocol/error 1171s ok 7 /glib/testing/protocol/gtest-message 1171s ok 8 /glib/testing/protocol/test-message 1171s ok 9 /glib/testing/protocol/test-error 1171s # End of protocol tests 1171s # End of testing tests 1171s # End of glib tests 1171s ok - glib/protocol.test 1171s # Running test: glib/signals.test 1171s TAP version 13 1171s # random seed: R02Sc7d91a61df4d082d8cc28440d423d4c0 1171s 1..31 1171s # Start of gobject tests 1171s # Start of signals tests 1171s ok 1 /gobject/signals/all-types 1171s ok 2 /gobject/signals/variant 1171s ok 3 /gobject/signals/destroy-target-object 1171s ok 4 /gobject/signals/generic-marshaller-1 1171s ok 5 /gobject/signals/generic-marshaller-2 1171s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1171s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1171s ok 8 /gobject/signals/generic-marshaller-int-return 1171s ok 9 /gobject/signals/generic-marshaller-uint-return 1171s ok 10 /gobject/signals/generic-marshaller-interface-return 1171s ok 11 /gobject/signals/custom-marshaller 1171s ok 12 /gobject/signals/connect 1171s ok 13 /gobject/signals/emission-hook 1171s ok 14 /gobject/signals/emitv 1171s ok 15 /gobject/signals/accumulator 1171s # Signal: accumulator-class-first 1171s # Signal: accumulator-class-last 1171s # Signal: accumulator-class-cleanup 1171s # Signal: accumulator-class-first-last 1171s # Signal: accumulator-class-first-last-cleanup 1171s # Signal: accumulator-class-last-cleanup 1171s ok 16 /gobject/signals/accumulator-class 1171s ok 17 /gobject/signals/introspection 1171s ok 18 /gobject/signals/block-handler 1171s ok 19 /gobject/signals/stop-emission 1171s ok 20 /gobject/signals/invocation-hint 1171s ok 21 /gobject/signals/test-disconnection-wrong-object 1171s ok 22 /gobject/signals/clear-signal-handler 1171s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1171s ok 23 /gobject/signals/lookup 1171s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1171s ok 24 /gobject/signals/parse-name 1171s ok 25 /gobject/signals/is-valid-name 1171s ok 26 /gobject/signals/weak-ref-disconnect 1171s # Start of lookup tests 1171s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1171s ok 27 /gobject/signals/lookup/invalid 1171s # End of lookup tests 1171s # Start of parse-name tests 1171s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1171s # Parser input: 1171s # Parser input: 7zip 1171s # Parser input: invalid:signal 1171s # Parser input: simple-detailed:: 1171s # Parser input: simple-detailed: 1171s # Parser input: : 1171s # Parser input: :: 1171s # Parser input: :valid-detail 1171s # Parser input: ::valid-detail 1171s ok 28 /gobject/signals/parse-name/invalid 1171s # End of parse-name tests 1171s # Start of invalid-name tests 1171s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1171s ok 29 /gobject/signals/invalid-name/colon 1171s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1171s ok 30 /gobject/signals/invalid-name/first-char 1171s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1171s ok 31 /gobject/signals/invalid-name/empty 1171s # End of invalid-name tests 1171s # End of signals tests 1171s # End of gobject tests 1171s ok - glib/signals.test 1171s # Running test: glib/unix.test 1171s TAP version 13 1171s # random seed: R02S7ae7cdc1fa791339699a3d480b9def45 1171s 1..17 1171s # Start of glib-unix tests 1171s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1171s ok 1 /glib-unix/closefrom 1171s ok 2 /glib-unix/pipe 1171s # /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 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1171s ok 3 /glib-unix/pipe-stdio-overwrite 1171s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1171s ok 4 /glib-unix/pipe-struct 1171s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1171s ok 5 /glib-unix/pipe-struct-auto 1171s ok 6 /glib-unix/error 1171s ok 7 /glib-unix/nonblocking 1171s ok 8 /glib-unix/sighup 1172s # slow test /glib-unix/sighup executed in 0.50 secs 1172s ok 9 /glib-unix/sigterm 1172s # slow test /glib-unix/sigterm executed in 0.50 secs 1172s # Executing: glib/unix.test 1172s ok 10 /glib-unix/sighup_again 1172s # slow test /glib-unix/sighup_again executed in 0.50 secs 1172s ok 11 /glib-unix/sighup_add_remove 1172s ok 12 /glib-unix/sighup_nested 1174s ok 13 /glib-unix/callback_after_signal 1174s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1175s ok 14 /glib-unix/child-wait 1175s # Start of closefrom tests 1175s # Start of subprocess tests 1175s # End of subprocess tests 1175s # End of closefrom tests 1175s # Start of pipe tests 1175s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1175s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1175s ok 15 /glib-unix/pipe/fd-cloexec 1175s # End of pipe tests 1175s # Start of get-passwd-entry tests 1175s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1175s ok 16 /glib-unix/get-passwd-entry/root 1175s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1175s ok 17 /glib-unix/get-passwd-entry/nonexistent 1175s # End of get-passwd-entry tests 1175s # End of glib-unix tests 1175s ok - glib/unix.test 1175s # Running test: glib/rcbox.test 1175s TAP version 13 1175s # random seed: R02S16c25271b14e87c44bf48f28381b577c 1175s 1..8 1175s # Start of rcbox tests 1175s ok 1 /rcbox/new 1175s # global_point = 0x1b780da088d0 1175s ok 2 /rcbox/release-full 1175s # global_point_a = 0x1b780da088d0 1175s # global_point_b = 0x1b780da08890 1175s ok 3 /rcbox/dup 1175s ok 4 /rcbox/alignment 1175s # End of rcbox tests 1175s # Start of atomic-rcbox tests 1175s ok 5 /atomic-rcbox/new 1175s # global_point = 0x1b780da08aa0 1175s ok 6 /atomic-rcbox/release-full 1175s # global_point_a = 0x1b780da08aa0 1175s # global_point_b = 0x1b780da08a60 1175s ok 7 /atomic-rcbox/dup 1175s ok 8 /atomic-rcbox/alignment 1175s # End of atomic-rcbox tests 1175s ok - glib/rcbox.test 1175s # Running test: glib/keyfile.test 1175s TAP version 13 1175s # random seed: R02S106c11444ed4bebb793292aaf2b0f8b2 1175s 1..36 1175s # Start of keyfile tests 1175s ok 1 /keyfile/line-ends 1175s ok 2 /keyfile/whitespace 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1175s ok 3 /keyfile/comments 1175s ok 4 /keyfile/listing 1175s ok 5 /keyfile/string 1175s ok 6 /keyfile/boolean 1175s ok 7 /keyfile/number 1175s ok 8 /keyfile/locale-string 1175s ok 9 /keyfile/lists 1175s ok 10 /keyfile/lists-set-get 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1175s ok 11 /keyfile/group-remove 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1175s ok 12 /keyfile/key-remove 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1175s ok 13 /keyfile/groups 1175s ok 14 /keyfile/duplicate-keys 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1175s ok 15 /keyfile/duplicate-groups 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1175s ok 16 /keyfile/duplicate-groups2 1175s ok 17 /keyfile/group-names 1175s ok 18 /keyfile/key-names 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1175s ok 19 /keyfile/reload 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1175s ok 20 /keyfile/int64 1175s ok 21 /keyfile/load 1175s ok 22 /keyfile/save 1175s ok 23 /keyfile/load-fail 1175s ok 24 /keyfile/non-utf8 1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1175s ok 25 /keyfile/page-boundary 1175s ok 26 /keyfile/ref 1175s ok 27 /keyfile/replace-value 1175s ok 28 /keyfile/list-separator 1175s ok 29 /keyfile/empty-string 1175s ok 30 /keyfile/limbo 1175s # Testing invalid encoding ?non-UTF-8? 1175s # Testing invalid encoding ?UTF? 1175s # Testing invalid encoding ?UTF-9? 1175s ok 31 /keyfile/utf8 1175s ok 32 /keyfile/roundtrip 1175s ok 33 /keyfile/bytes 1175s ok 34 /keyfile/get-locale 1175s ok 35 /keyfile/free-when-not-last-ref 1175s # Start of locale-string tests 1175s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1175s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1175s ok 36 /keyfile/locale-string/multiple-loads 1175s # End of locale-string tests 1175s # End of keyfile tests 1175s ok - glib/keyfile.test 1175s # Running test: glib/unix-streams.test 1175s TAP version 13 1175s # random seed: R02Sf78a574ec9734ea66cdcf0d74045f761 1175s 1..9 1175s # Start of unix-streams tests 1175s ok 1 /unix-streams/basic 1175s ok 2 /unix-streams/pipe-io-test 1175s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1176s ok 3 /unix-streams/nonblocking-io-test 1176s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1176s ok 4 /unix-streams/read_write 1176s ok 5 /unix-streams/read_writev 1176s ok 6 /unix-streams/write-wouldblock 1176s ok 7 /unix-streams/writev-wouldblock 1176s ok 8 /unix-streams/write-async-wouldblock 1176s ok 9 /unix-streams/writev-async-wouldblock 1176s # End of unix-streams tests 1176s ok - glib/unix-streams.test 1176s # Running test: glib/custom-dispatch.test 1176s TAP version 13 1176s # random seed: R02S7eac9fe285951b9931e2efe9420a62c5 1176s 1..2 1176s # Start of properties tests 1176s # Start of custom-dispatch tests 1176s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1176s ok 1 /properties/custom-dispatch/init 1176s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1176s ok 2 /properties/custom-dispatch/set 1176s # End of custom-dispatch tests 1176s # End of properties tests 1176s ok - glib/custom-dispatch.test 1176s # Running test: glib/spawn-multithreaded.test 1176s TAP version 13 1176s # random seed: R02S848d8b0f6a488b30427c324a0a130758 1176s 1..4 1176s # Start of gthread tests 1177s # Child 7862 (ttl 1) exited, status 0 1177s # Executing: glib/spawn-multithreaded.test 1178s # Child 7863 (ttl 2) exited, status 0 1178s ok 1 /gthread/spawn-childs 1178s # slow test /gthread/spawn-childs executed in 2.00 secs 1178s # Created pid: 7867 (ttl 1) 1178s # Created pid: 7868 (ttl 2) 1179s # Child 7867 (ttl 1) exited, status 0 1180s # Child 7868 (ttl 2) exited, status 0 1180s ok 2 /gthread/spawn-childs-threads 1180s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1180s ok 3 /gthread/spawn-sync 1180s ok 4 /gthread/spawn-async 1180s # End of gthread tests 1180s ok - glib/spawn-multithreaded.test 1180s # Running test: glib/642026.test 1180s TAP version 13 1180s # random seed: R02S91e25d263a9affdde4723c33e322070e 1180s 1..1 1180s # Start of glib tests 1180s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1180s ok 1 /glib/642026 1180s # End of glib tests 1180s ok - glib/642026.test 1180s # Running test: glib/regex.test 1180s TAP version 13 1180s # random seed: R02Se43c272e25273b3486a9b51b7708b588 1180s 1..848 1180s # Start of regex tests 1180s ok 1 /regex/properties 1180s ok 2 /regex/class 1180s ok 3 /regex/lookahead 1180s ok 4 /regex/lookbehind 1180s ok 5 /regex/subpattern 1180s ok 6 /regex/condition 1180s ok 7 /regex/recursion 1180s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1180s ok 8 /regex/multiline 1180s ok 9 /regex/explicit-crlf 1180s ok 10 /regex/max-lookbehind 1180s ok 11 /regex/compile-errors 1180s ok 12 /regex/jit-unsupported-matching 1180s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1180s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1180s ok 13 /regex/unmatched-named-subpattern 1180s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1180s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1180s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1180s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1180s ok 14 /regex/compiled-regex-after-jit-failure 1180s # Start of new tests 1180s ok 15 /regex/new/1 1180s ok 16 /regex/new/2 1180s ok 17 /regex/new/3 1180s ok 18 /regex/new/4 1180s ok 19 /regex/new/5 1180s ok 20 /regex/new/6 1180s ok 21 /regex/new/7 1180s ok 22 /regex/new/8 1180s ok 23 /regex/new/9 1180s ok 24 /regex/new/10 1180s ok 25 /regex/new/11 1180s ok 26 /regex/new/12 1180s ok 27 /regex/new/13 1180s ok 28 /regex/new/14 1180s ok 29 /regex/new/15 1180s ok 30 /regex/new/16 1180s ok 31 /regex/new/17 1180s ok 32 /regex/new/18 1180s ok 33 /regex/new/19 1180s ok 34 /regex/new/71 1180s ok 35 /regex/new/80 1180s ok 36 /regex/new/82 1180s # End of new tests 1180s # Start of new-check-flags tests 1180s ok 37 /regex/new-check-flags/20 1180s ok 38 /regex/new-check-flags/21 1180s ok 39 /regex/new-check-flags/22 1180s ok 40 /regex/new-check-flags/23 1180s ok 41 /regex/new-check-flags/24 1180s ok 42 /regex/new-check-flags/25 1180s ok 43 /regex/new-check-flags/26 1180s ok 44 /regex/new-check-flags/27 1180s ok 45 /regex/new-check-flags/28 1180s ok 46 /regex/new-check-flags/29 1180s ok 47 /regex/new-check-flags/30 1180s ok 48 /regex/new-check-flags/31 1180s ok 49 /regex/new-check-flags/32 1180s ok 50 /regex/new-check-flags/33 1180s ok 51 /regex/new-check-flags/34 1180s ok 52 /regex/new-check-flags/35 1180s ok 53 /regex/new-check-flags/36 1180s # End of new-check-flags tests 1180s # Start of new-fail tests 1180s ok 54 /regex/new-fail/37 1180s ok 55 /regex/new-fail/38 1180s ok 56 /regex/new-fail/39 1180s ok 57 /regex/new-fail/40 1180s ok 58 /regex/new-fail/41 1180s ok 59 /regex/new-fail/42 1180s ok 60 /regex/new-fail/43 1180s ok 61 /regex/new-fail/44 1180s ok 62 /regex/new-fail/45 1180s ok 63 /regex/new-fail/46 1180s ok 64 /regex/new-fail/47 1180s ok 65 /regex/new-fail/48 1180s ok 66 /regex/new-fail/49 1180s ok 67 /regex/new-fail/50 1180s ok 68 /regex/new-fail/51 1180s ok 69 /regex/new-fail/52 1180s ok 70 /regex/new-fail/53 1180s ok 71 /regex/new-fail/54 1180s ok 72 /regex/new-fail/55 1180s ok 73 /regex/new-fail/56 1180s ok 74 /regex/new-fail/57 1180s ok 75 /regex/new-fail/58 1180s ok 76 /regex/new-fail/59 1180s ok 77 /regex/new-fail/60 1180s ok 78 /regex/new-fail/61 1180s ok 79 /regex/new-fail/62 1180s ok 80 /regex/new-fail/63 1180s ok 81 /regex/new-fail/64 1180s ok 82 /regex/new-fail/65 1180s ok 83 /regex/new-fail/66 1180s ok 84 /regex/new-fail/67 1180s ok 85 /regex/new-fail/68 1180s ok 86 /regex/new-fail/69 1180s ok 87 /regex/new-fail/70 1180s ok 88 /regex/new-fail/72 1180s ok 89 /regex/new-fail/73 1180s ok 90 /regex/new-fail/74 1180s ok 91 /regex/new-fail/75 1180s ok 92 /regex/new-fail/76 1180s ok 93 /regex/new-fail/77 1180s ok 94 /regex/new-fail/78 1180s ok 95 /regex/new-fail/79 1180s ok 96 /regex/new-fail/81 1180s ok 97 /regex/new-fail/83 1180s ok 98 /regex/new-fail/84 1180s ok 99 /regex/new-fail/85 1180s ok 100 /regex/new-fail/86 1180s ok 101 /regex/new-fail/87 1180s ok 102 /regex/new-fail/88 1180s ok 103 /regex/new-fail/89 1180s ok 104 /regex/new-fail/90 1180s ok 105 /regex/new-fail/91 1180s # End of new-fail tests 1180s # Start of match-simple tests 1180s ok 106 /regex/match-simple/92 1180s ok 107 /regex/match-simple/93 1180s ok 108 /regex/match-simple/94 1180s ok 109 /regex/match-simple/95 1180s ok 110 /regex/match-simple/96 1180s ok 111 /regex/match-simple/97 1180s ok 112 /regex/match-simple/98 1180s ok 113 /regex/match-simple/99 1180s ok 114 /regex/match-simple/100 1180s ok 115 /regex/match-simple/101 1180s ok 116 /regex/match-simple/102 1180s ok 117 /regex/match-simple/103 1180s ok 118 /regex/match-simple/104 1180s ok 119 /regex/match-simple/105 1180s ok 120 /regex/match-simple/106 1180s ok 121 /regex/match-simple/107 1180s ok 122 /regex/match-simple/108 1180s ok 123 /regex/match-simple/109 1180s ok 124 /regex/match-simple/110 1180s ok 125 /regex/match-simple/111 1180s ok 126 /regex/match-simple/112 1180s ok 127 /regex/match-simple/113 1180s ok 128 /regex/match-simple/114 1180s ok 129 /regex/match-simple/115 1180s ok 130 /regex/match-simple/116 1180s ok 131 /regex/match-simple/117 1180s ok 132 /regex/match-simple/118 1180s ok 133 /regex/match-simple/119 1180s ok 134 /regex/match-simple/120 1180s ok 135 /regex/match-simple/121 1180s ok 136 /regex/match-simple/122 1180s ok 137 /regex/match-simple/123 1180s ok 138 /regex/match-simple/124 1180s ok 139 /regex/match-simple/125 1180s ok 140 /regex/match-simple/126 1180s ok 141 /regex/match-simple/127 1180s ok 142 /regex/match-simple/128 1180s ok 143 /regex/match-simple/129 1180s ok 144 /regex/match-simple/130 1180s ok 145 /regex/match-simple/131 1180s ok 146 /regex/match-simple/132 1180s ok 147 /regex/match-simple/133 1180s ok 148 /regex/match-simple/134 1180s ok 149 /regex/match-simple/135 1180s ok 150 /regex/match-simple/136 1180s ok 151 /regex/match-simple/137 1180s ok 152 /regex/match-simple/138 1180s ok 153 /regex/match-simple/139 1180s ok 154 /regex/match-simple/140 1180s ok 155 /regex/match-simple/141 1180s ok 156 /regex/match-simple/142 1180s ok 157 /regex/match-simple/143 1180s ok 158 /regex/match-simple/144 1180s ok 159 /regex/match-simple/145 1180s ok 160 /regex/match-simple/146 1180s ok 161 /regex/match-simple/147 1180s ok 162 /regex/match-simple/148 1180s ok 163 /regex/match-simple/149 1180s ok 164 /regex/match-simple/150 1180s ok 165 /regex/match-simple/151 1180s ok 166 /regex/match-simple/152 1180s ok 167 /regex/match-simple/153 1180s ok 168 /regex/match-simple/154 1180s ok 169 /regex/match-simple/155 1180s ok 170 /regex/match-simple/156 1180s ok 171 /regex/match-simple/157 1180s ok 172 /regex/match-simple/158 1180s ok 173 /regex/match-simple/159 1180s ok 174 /regex/match-simple/160 1180s ok 175 /regex/match-simple/161 1180s ok 176 /regex/match-simple/162 1180s ok 177 /regex/match-simple/163 1180s ok 178 /regex/match-simple/164 1180s # End of match-simple tests 1180s # Start of match-simple-optimized tests 1180s ok 179 /regex/match-simple-optimized/92 1180s ok 180 /regex/match-simple-optimized/93 1180s ok 181 /regex/match-simple-optimized/94 1180s ok 182 /regex/match-simple-optimized/95 1180s ok 183 /regex/match-simple-optimized/96 1180s ok 184 /regex/match-simple-optimized/97 1180s ok 185 /regex/match-simple-optimized/98 1180s ok 186 /regex/match-simple-optimized/99 1180s ok 187 /regex/match-simple-optimized/100 1180s ok 188 /regex/match-simple-optimized/101 1180s ok 189 /regex/match-simple-optimized/102 1180s ok 190 /regex/match-simple-optimized/103 1180s ok 191 /regex/match-simple-optimized/104 1180s ok 192 /regex/match-simple-optimized/105 1180s ok 193 /regex/match-simple-optimized/106 1180s ok 194 /regex/match-simple-optimized/107 1180s ok 195 /regex/match-simple-optimized/108 1180s ok 196 /regex/match-simple-optimized/109 1180s ok 197 /regex/match-simple-optimized/110 1180s ok 198 /regex/match-simple-optimized/111 1180s ok 199 /regex/match-simple-optimized/112 1180s ok 200 /regex/match-simple-optimized/113 1180s ok 201 /regex/match-simple-optimized/114 1180s ok 202 /regex/match-simple-optimized/115 1180s ok 203 /regex/match-simple-optimized/116 1180s ok 204 /regex/match-simple-optimized/117 1180s ok 205 /regex/match-simple-optimized/118 1180s ok 206 /regex/match-simple-optimized/119 1180s ok 207 /regex/match-simple-optimized/120 1180s ok 208 /regex/match-simple-optimized/121 1180s ok 209 /regex/match-simple-optimized/122 1180s ok 210 /regex/match-simple-optimized/123 1180s ok 211 /regex/match-simple-optimized/124 1180s ok 212 /regex/match-simple-optimized/125 1180s ok 213 /regex/match-simple-optimized/126 1180s ok 214 /regex/match-simple-optimized/127 1180s ok 215 /regex/match-simple-optimized/128 1180s ok 216 /regex/match-simple-optimized/129 1180s ok 217 /regex/match-simple-optimized/130 1180s ok 218 /regex/match-simple-optimized/131 1180s ok 219 /regex/match-simple-optimized/132 1180s ok 220 /regex/match-simple-optimized/133 1180s ok 221 /regex/match-simple-optimized/134 1180s ok 222 /regex/match-simple-optimized/135 1180s ok 223 /regex/match-simple-optimized/136 1180s ok 224 /regex/match-simple-optimized/137 1180s ok 225 /regex/match-simple-optimized/138 1180s ok 226 /regex/match-simple-optimized/139 1180s ok 227 /regex/match-simple-optimized/140 1180s ok 228 /regex/match-simple-optimized/141 1180s ok 229 /regex/match-simple-optimized/142 1180s ok 230 /regex/match-simple-optimized/143 1180s ok 231 /regex/match-simple-optimized/144 1180s ok 232 /regex/match-simple-optimized/145 1180s ok 233 /regex/match-simple-optimized/146 1180s ok 234 /regex/match-simple-optimized/147 1180s ok 235 /regex/match-simple-optimized/148 1180s ok 236 /regex/match-simple-optimized/149 1180s ok 237 /regex/match-simple-optimized/150 1180s ok 238 /regex/match-simple-optimized/151 1180s ok 239 /regex/match-simple-optimized/152 1180s ok 240 /regex/match-simple-optimized/153 1180s ok 241 /regex/match-simple-optimized/154 1180s ok 242 /regex/match-simple-optimized/155 1180s ok 243 /regex/match-simple-optimized/156 1180s ok 244 /regex/match-simple-optimized/157 1180s ok 245 /regex/match-simple-optimized/158 1180s ok 246 /regex/match-simple-optimized/159 1180s ok 247 /regex/match-simple-optimized/160 1180s ok 248 /regex/match-simple-optimized/161 1180s ok 249 /regex/match-simple-optimized/162 1180s ok 250 /regex/match-simple-optimized/163 1180s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1180s ok 251 /regex/match-simple-optimized/164 1180s # End of match-simple-optimized tests 1180s # Start of match tests 1180s ok 252 /regex/match/165 1180s ok 253 /regex/match/166 1180s ok 254 /regex/match/167 1180s ok 255 /regex/match/168 1180s ok 256 /regex/match/169 1180s ok 257 /regex/match/170 1180s ok 258 /regex/match/171 1180s ok 259 /regex/match/172 1180s ok 260 /regex/match/173 1180s ok 261 /regex/match/174 1180s ok 262 /regex/match/175 1180s ok 263 /regex/match/176 1180s ok 264 /regex/match/177 1180s ok 265 /regex/match/178 1180s ok 266 /regex/match/179 1180s ok 267 /regex/match/180 1180s ok 268 /regex/match/181 1180s ok 269 /regex/match/182 1180s ok 270 /regex/match/183 1180s ok 271 /regex/match/184 1180s ok 272 /regex/match/185 1180s ok 273 /regex/match/186 1180s ok 274 /regex/match/187 1180s ok 275 /regex/match/188 1180s ok 276 /regex/match/189 1180s ok 277 /regex/match/190 1180s ok 278 /regex/match/191 1180s ok 279 /regex/match/192 1180s ok 280 /regex/match/193 1180s ok 281 /regex/match/194 1180s ok 282 /regex/match/195 1180s ok 283 /regex/match/196 1180s ok 284 /regex/match/197 1180s ok 285 /regex/match/198 1180s ok 286 /regex/match/199 1180s ok 287 /regex/match/200 1180s ok 288 /regex/match/201 1180s ok 289 /regex/match/202 1180s ok 290 /regex/match/203 1180s ok 291 /regex/match/204 1180s ok 292 /regex/match/205 1180s ok 293 /regex/match/206 1180s ok 294 /regex/match/207 1180s ok 295 /regex/match/208 1180s ok 296 /regex/match/209 1180s ok 297 /regex/match/210 1180s ok 298 /regex/match/211 1180s ok 299 /regex/match/212 1180s ok 300 /regex/match/213 1180s ok 301 /regex/match/214 1180s ok 302 /regex/match/215 1180s ok 303 /regex/match/216 1180s ok 304 /regex/match/217 1180s ok 305 /regex/match/218 1180s ok 306 /regex/match/219 1180s ok 307 /regex/match/220 1180s ok 308 /regex/match/221 1180s ok 309 /regex/match/222 1180s ok 310 /regex/match/223 1180s ok 311 /regex/match/224 1180s ok 312 /regex/match/225 1180s ok 313 /regex/match/226 1180s ok 314 /regex/match/227 1180s ok 315 /regex/match/228 1180s ok 316 /regex/match/229 1180s ok 317 /regex/match/230 1180s ok 318 /regex/match/231 1180s ok 319 /regex/match/232 1180s ok 320 /regex/match/233 1180s ok 321 /regex/match/234 1180s ok 322 /regex/match/235 1180s ok 323 /regex/match/236 1180s ok 324 /regex/match/237 1180s ok 325 /regex/match/238 1180s ok 326 /regex/match/239 1180s ok 327 /regex/match/240 1180s ok 328 /regex/match/241 1180s ok 329 /regex/match/242 1180s ok 330 /regex/match/243 1180s ok 331 /regex/match/244 1180s ok 332 /regex/match/245 1180s ok 333 /regex/match/246 1180s ok 334 /regex/match/partial281 1180s ok 335 /regex/match/partial282 1180s ok 336 /regex/match/partial283 1180s ok 337 /regex/match/partial284 1180s ok 338 /regex/match/partial285 1180s ok 339 /regex/match/partial286 1180s ok 340 /regex/match/partial287 1180s ok 341 /regex/match/partial288 1180s ok 342 /regex/match/partial289 1180s ok 343 /regex/match/partial290 1180s ok 344 /regex/match/partial291 1180s ok 345 /regex/match/partial292 1180s ok 346 /regex/match/partial293 1180s ok 347 /regex/match/partial294 1180s ok 348 /regex/match/partial295 1180s ok 349 /regex/match/partial296 1180s ok 350 /regex/match/partial297 1180s ok 351 /regex/match/partial298 1180s ok 352 /regex/match/partial299 1180s ok 353 /regex/match/partial300 1180s ok 354 /regex/match/partial301 1180s ok 355 /regex/match/partial302 1180s # Start of next0 tests 1180s ok 356 /regex/match/next0/247 1180s ok 357 /regex/match/next0/248 1180s ok 358 /regex/match/next0/249 1180s ok 359 /regex/match/next0/250 1180s # End of next0 tests 1180s # Start of next1 tests 1180s ok 360 /regex/match/next1/251 1180s ok 361 /regex/match/next1/252 1180s ok 362 /regex/match/next1/253 1180s ok 363 /regex/match/next1/254 1180s ok 364 /regex/match/next1/255 1180s # End of next1 tests 1180s # Start of next2 tests 1180s ok 365 /regex/match/next2/256 1180s ok 366 /regex/match/next2/257 1180s ok 367 /regex/match/next2/258 1180s ok 368 /regex/match/next2/259 1180s ok 369 /regex/match/next2/260 1180s ok 370 /regex/match/next2/261 1180s ok 371 /regex/match/next2/262 1180s ok 372 /regex/match/next2/263 1180s # End of next2 tests 1180s # Start of next3 tests 1180s ok 373 /regex/match/next3/264 1180s ok 374 /regex/match/next3/265 1180s ok 375 /regex/match/next3/266 1180s ok 376 /regex/match/next3/267 1180s ok 377 /regex/match/next3/268 1180s ok 378 /regex/match/next3/269 1180s # End of next3 tests 1180s # Start of next4 tests 1180s ok 379 /regex/match/next4/270 1180s # End of next4 tests 1180s # Start of count tests 1180s ok 380 /regex/match/count/271 1180s ok 381 /regex/match/count/272 1180s ok 382 /regex/match/count/273 1180s ok 383 /regex/match/count/274 1180s ok 384 /regex/match/count/275 1180s ok 385 /regex/match/count/276 1180s ok 386 /regex/match/count/277 1180s ok 387 /regex/match/count/278 1180s ok 388 /regex/match/count/279 1180s ok 389 /regex/match/count/280 1180s # End of count tests 1180s # Start of count-optimized tests 1180s ok 390 /regex/match/count-optimized/271 1180s ok 391 /regex/match/count-optimized/272 1180s ok 392 /regex/match/count-optimized/273 1180s ok 393 /regex/match/count-optimized/274 1180s ok 394 /regex/match/count-optimized/275 1180s ok 395 /regex/match/count-optimized/276 1180s ok 396 /regex/match/count-optimized/277 1180s ok 397 /regex/match/count-optimized/278 1180s ok 398 /regex/match/count-optimized/279 1180s ok 399 /regex/match/count-optimized/280 1180s # End of count-optimized tests 1180s # Start of partial-optimized tests 1180s ok 400 /regex/match/partial-optimized/281 1180s ok 401 /regex/match/partial-optimized/282 1180s ok 402 /regex/match/partial-optimized/283 1180s ok 403 /regex/match/partial-optimized/284 1180s ok 404 /regex/match/partial-optimized/285 1180s ok 405 /regex/match/partial-optimized/286 1180s ok 406 /regex/match/partial-optimized/287 1180s ok 407 /regex/match/partial-optimized/288 1180s ok 408 /regex/match/partial-optimized/289 1180s ok 409 /regex/match/partial-optimized/290 1180s ok 410 /regex/match/partial-optimized/291 1180s ok 411 /regex/match/partial-optimized/292 1180s ok 412 /regex/match/partial-optimized/293 1180s ok 413 /regex/match/partial-optimized/294 1180s ok 414 /regex/match/partial-optimized/295 1180s ok 415 /regex/match/partial-optimized/296 1180s ok 416 /regex/match/partial-optimized/297 1180s ok 417 /regex/match/partial-optimized/298 1180s ok 418 /regex/match/partial-optimized/299 1180s ok 419 /regex/match/partial-optimized/300 1180s ok 420 /regex/match/partial-optimized/301 1180s ok 421 /regex/match/partial-optimized/302 1180s # End of partial-optimized tests 1180s # Start of subpattern tests 1180s ok 422 /regex/match/subpattern/303 1180s ok 423 /regex/match/subpattern/304 1180s ok 424 /regex/match/subpattern/305 1180s ok 425 /regex/match/subpattern/306 1180s ok 426 /regex/match/subpattern/307 1180s ok 427 /regex/match/subpattern/308 1180s ok 428 /regex/match/subpattern/309 1180s ok 429 /regex/match/subpattern/310 1180s ok 430 /regex/match/subpattern/311 1180s ok 431 /regex/match/subpattern/312 1180s ok 432 /regex/match/subpattern/313 1180s ok 433 /regex/match/subpattern/314 1180s ok 434 /regex/match/subpattern/315 1180s # Start of named tests 1180s # Start of dupnames tests 1180s ok 435 /regex/match/subpattern/named/dupnames/325 1180s ok 436 /regex/match/subpattern/named/dupnames/326 1180s ok 437 /regex/match/subpattern/named/dupnames/327 1180s ok 438 /regex/match/subpattern/named/dupnames/328 1180s ok 439 /regex/match/subpattern/named/dupnames/329 1180s # End of dupnames tests 1180s # End of named tests 1180s # End of subpattern tests 1180s # Start of subpattern-optimized tests 1180s ok 440 /regex/match/subpattern-optimized/303 1180s ok 441 /regex/match/subpattern-optimized/304 1180s ok 442 /regex/match/subpattern-optimized/305 1180s ok 443 /regex/match/subpattern-optimized/306 1180s ok 444 /regex/match/subpattern-optimized/307 1180s ok 445 /regex/match/subpattern-optimized/308 1180s ok 446 /regex/match/subpattern-optimized/309 1180s ok 447 /regex/match/subpattern-optimized/310 1180s ok 448 /regex/match/subpattern-optimized/311 1180s ok 449 /regex/match/subpattern-optimized/312 1180s ok 450 /regex/match/subpattern-optimized/313 1180s ok 451 /regex/match/subpattern-optimized/314 1180s ok 452 /regex/match/subpattern-optimized/315 1180s # End of subpattern-optimized tests 1180s # Start of named tests 1180s # Start of subpattern tests 1180s ok 453 /regex/match/named/subpattern/316 1180s ok 454 /regex/match/named/subpattern/317 1180s ok 455 /regex/match/named/subpattern/318 1180s ok 456 /regex/match/named/subpattern/319 1180s ok 457 /regex/match/named/subpattern/320 1180s ok 458 /regex/match/named/subpattern/321 1180s ok 459 /regex/match/named/subpattern/322 1180s ok 460 /regex/match/named/subpattern/323 1180s ok 461 /regex/match/named/subpattern/324 1180s ok 462 /regex/match/named/subpattern/330 1180s ok 463 /regex/match/named/subpattern/331 1180s ok 464 /regex/match/named/subpattern/332 1180s ok 465 /regex/match/named/subpattern/333 1180s ok 466 /regex/match/named/subpattern/334 1180s # End of subpattern tests 1180s # End of named tests 1180s # End of match tests 1180s # Start of match-optimized tests 1180s ok 467 /regex/match-optimized/165 1180s ok 468 /regex/match-optimized/166 1180s ok 469 /regex/match-optimized/167 1180s ok 470 /regex/match-optimized/168 1180s ok 471 /regex/match-optimized/169 1180s ok 472 /regex/match-optimized/170 1180s ok 473 /regex/match-optimized/171 1180s ok 474 /regex/match-optimized/172 1180s ok 475 /regex/match-optimized/173 1180s ok 476 /regex/match-optimized/174 1180s ok 477 /regex/match-optimized/175 1180s ok 478 /regex/match-optimized/176 1180s ok 479 /regex/match-optimized/177 1180s ok 480 /regex/match-optimized/178 1180s ok 481 /regex/match-optimized/179 1180s ok 482 /regex/match-optimized/180 1180s ok 483 /regex/match-optimized/181 1180s ok 484 /regex/match-optimized/182 1180s ok 485 /regex/match-optimized/183 1180s ok 486 /regex/match-optimized/184 1180s ok 487 /regex/match-optimized/185 1180s ok 488 /regex/match-optimized/186 1180s ok 489 /regex/match-optimized/187 1180s ok 490 /regex/match-optimized/188 1180s ok 491 /regex/match-optimized/189 1180s ok 492 /regex/match-optimized/190 1180s ok 493 /regex/match-optimized/191 1180s ok 494 /regex/match-optimized/192 1180s ok 495 /regex/match-optimized/193 1180s ok 496 /regex/match-optimized/194 1180s ok 497 /regex/match-optimized/195 1180s ok 498 /regex/match-optimized/196 1180s ok 499 /regex/match-optimized/197 1180s ok 500 /regex/match-optimized/198 1180s ok 501 /regex/match-optimized/199 1180s ok 502 /regex/match-optimized/200 1180s ok 503 /regex/match-optimized/201 1180s ok 504 /regex/match-optimized/202 1180s ok 505 /regex/match-optimized/203 1180s ok 506 /regex/match-optimized/204 1180s ok 507 /regex/match-optimized/205 1180s ok 508 /regex/match-optimized/206 1180s ok 509 /regex/match-optimized/207 1180s ok 510 /regex/match-optimized/208 1180s ok 511 /regex/match-optimized/209 1180s ok 512 /regex/match-optimized/210 1180s ok 513 /regex/match-optimized/211 1180s ok 514 /regex/match-optimized/212 1180s ok 515 /regex/match-optimized/213 1180s ok 516 /regex/match-optimized/214 1180s ok 517 /regex/match-optimized/215 1180s ok 518 /regex/match-optimized/216 1180s ok 519 /regex/match-optimized/217 1180s ok 520 /regex/match-optimized/218 1180s ok 521 /regex/match-optimized/219 1180s ok 522 /regex/match-optimized/220 1180s ok 523 /regex/match-optimized/221 1180s ok 524 /regex/match-optimized/222 1180s ok 525 /regex/match-optimized/223 1180s ok 526 /regex/match-optimized/224 1180s ok 527 /regex/match-optimized/225 1180s ok 528 /regex/match-optimized/226 1180s ok 529 /regex/match-optimized/227 1180s ok 530 /regex/match-optimized/228 1180s ok 531 /regex/match-optimized/229 1180s ok 532 /regex/match-optimized/230 1180s ok 533 /regex/match-optimized/231 1180s ok 534 /regex/match-optimized/232 1180s ok 535 /regex/match-optimized/233 1180s ok 536 /regex/match-optimized/234 1180s ok 537 /regex/match-optimized/235 1180s ok 538 /regex/match-optimized/236 1180s ok 539 /regex/match-optimized/237 1180s ok 540 /regex/match-optimized/238 1180s ok 541 /regex/match-optimized/239 1180s ok 542 /regex/match-optimized/240 1180s ok 543 /regex/match-optimized/241 1180s ok 544 /regex/match-optimized/242 1180s ok 545 /regex/match-optimized/243 1180s ok 546 /regex/match-optimized/244 1180s ok 547 /regex/match-optimized/245 1180s ok 548 /regex/match-optimized/246 1180s # End of match-optimized tests 1180s # Start of fetch-all0 tests 1180s ok 549 /regex/fetch-all0/335 1180s ok 550 /regex/fetch-all0/336 1180s # End of fetch-all0 tests 1180s # Start of fetch-all1 tests 1180s ok 551 /regex/fetch-all1/337 1180s ok 552 /regex/fetch-all1/338 1180s ok 553 /regex/fetch-all1/339 1180s # End of fetch-all1 tests 1180s # Start of fetch-all2 tests 1180s ok 554 /regex/fetch-all2/340 1180s ok 555 /regex/fetch-all2/341 1180s ok 556 /regex/fetch-all2/342 1180s # End of fetch-all2 tests 1180s # Start of fetch-all3 tests 1180s ok 557 /regex/fetch-all3/343 1180s ok 558 /regex/fetch-all3/344 1180s ok 559 /regex/fetch-all3/345 1180s ok 560 /regex/fetch-all3/346 1180s ok 561 /regex/fetch-all3/347 1180s # End of fetch-all3 tests 1180s # Start of split tests 1180s # Start of simple0 tests 1180s ok 562 /regex/split/simple0/348 1180s ok 563 /regex/split/simple0/349 1180s ok 564 /regex/split/simple0/364 1180s ok 565 /regex/split/simple0/365 1180s # End of simple0 tests 1180s # Start of simple1 tests 1180s ok 566 /regex/split/simple1/350 1180s ok 567 /regex/split/simple1/351 1180s # End of simple1 tests 1180s # Start of simple2 tests 1180s ok 568 /regex/split/simple2/352 1180s ok 569 /regex/split/simple2/358 1180s ok 570 /regex/split/simple2/360 1180s # End of simple2 tests 1180s # Start of simple3 tests 1180s ok 571 /regex/split/simple3/353 1180s ok 572 /regex/split/simple3/354 1180s ok 573 /regex/split/simple3/355 1180s ok 574 /regex/split/simple3/356 1180s ok 575 /regex/split/simple3/357 1180s ok 576 /regex/split/simple3/359 1180s ok 577 /regex/split/simple3/361 1180s ok 578 /regex/split/simple3/362 1180s ok 579 /regex/split/simple3/363 1180s # End of simple3 tests 1180s # End of split tests 1180s # Start of split0 tests 1180s ok 580 /regex/split0/366 1180s ok 581 /regex/split0/368 1180s # End of split0 tests 1180s # Start of full-split0 tests 1180s ok 582 /regex/full-split0/367 1180s ok 583 /regex/full-split0/369 1180s ok 584 /regex/full-split0/370 1180s ok 585 /regex/full-split0/371 1180s ok 586 /regex/full-split0/372 1180s # End of full-split0 tests 1180s # Start of split1 tests 1180s ok 587 /regex/split1/373 1180s ok 588 /regex/split1/376 1180s # End of split1 tests 1180s # Start of full-split1 tests 1180s ok 589 /regex/full-split1/374 1180s ok 590 /regex/full-split1/375 1180s ok 591 /regex/full-split1/377 1180s ok 592 /regex/full-split1/378 1180s ok 593 /regex/full-split1/404 1180s # End of full-split1 tests 1180s # Start of split2 tests 1180s ok 594 /regex/split2/379 1180s ok 595 /regex/split2/383 1180s ok 596 /regex/split2/395 1180s # End of split2 tests 1180s # Start of full-split2 tests 1180s ok 597 /regex/full-split2/380 1180s ok 598 /regex/full-split2/381 1180s ok 599 /regex/full-split2/382 1180s ok 600 /regex/full-split2/384 1180s ok 601 /regex/full-split2/396 1180s ok 602 /regex/full-split2/399 1180s ok 603 /regex/full-split2/405 1180s # End of full-split2 tests 1180s # Start of split3 tests 1180s ok 604 /regex/split3/385 1180s ok 605 /regex/split3/387 1180s ok 606 /regex/split3/389 1180s ok 607 /regex/split3/391 1180s ok 608 /regex/split3/393 1180s ok 609 /regex/split3/397 1180s ok 610 /regex/split3/400 1180s ok 611 /regex/split3/402 1180s # End of split3 tests 1180s # Start of full-split3 tests 1180s ok 612 /regex/full-split3/386 1180s ok 613 /regex/full-split3/388 1180s ok 614 /regex/full-split3/390 1180s ok 615 /regex/full-split3/392 1180s ok 616 /regex/full-split3/394 1180s ok 617 /regex/full-split3/398 1180s ok 618 /regex/full-split3/401 1180s ok 619 /regex/full-split3/403 1180s ok 620 /regex/full-split3/406 1180s ok 621 /regex/full-split3/407 1180s # End of full-split3 tests 1180s # Start of check-repacement tests 1180s ok 622 /regex/check-repacement/408 1180s ok 623 /regex/check-repacement/409 1180s ok 624 /regex/check-repacement/410 1180s ok 625 /regex/check-repacement/411 1180s ok 626 /regex/check-repacement/412 1180s ok 627 /regex/check-repacement/413 1180s ok 628 /regex/check-repacement/414 1180s ok 629 /regex/check-repacement/415 1180s # End of check-repacement tests 1180s # Start of expand tests 1180s ok 630 /regex/expand/416 1180s ok 631 /regex/expand/417 1180s ok 632 /regex/expand/418 1180s ok 633 /regex/expand/419 1180s ok 634 /regex/expand/420 1180s ok 635 /regex/expand/421 1180s ok 636 /regex/expand/422 1180s ok 637 /regex/expand/423 1180s ok 638 /regex/expand/424 1180s ok 639 /regex/expand/425 1180s ok 640 /regex/expand/426 1180s ok 641 /regex/expand/427 1180s ok 642 /regex/expand/428 1180s ok 643 /regex/expand/429 1180s ok 644 /regex/expand/430 1180s ok 645 /regex/expand/431 1180s ok 646 /regex/expand/432 1180s ok 647 /regex/expand/433 1180s ok 648 /regex/expand/434 1180s ok 649 /regex/expand/435 1180s ok 650 /regex/expand/436 1180s ok 651 /regex/expand/437 1180s ok 652 /regex/expand/438 1180s ok 653 /regex/expand/439 1180s ok 654 /regex/expand/440 1180s ok 655 /regex/expand/441 1180s ok 656 /regex/expand/442 1180s ok 657 /regex/expand/443 1180s ok 658 /regex/expand/444 1180s ok 659 /regex/expand/445 1180s ok 660 /regex/expand/446 1180s ok 661 /regex/expand/447 1180s ok 662 /regex/expand/448 1180s ok 663 /regex/expand/449 1180s ok 664 /regex/expand/450 1180s ok 665 /regex/expand/451 1180s ok 666 /regex/expand/452 1180s ok 667 /regex/expand/453 1180s ok 668 /regex/expand/454 1180s ok 669 /regex/expand/455 1180s ok 670 /regex/expand/456 1180s ok 671 /regex/expand/457 1180s ok 672 /regex/expand/458 1180s ok 673 /regex/expand/459 1180s ok 674 /regex/expand/460 1180s ok 675 /regex/expand/461 1180s ok 676 /regex/expand/462 1180s ok 677 /regex/expand/463 1180s ok 678 /regex/expand/464 1180s ok 679 /regex/expand/465 1180s ok 680 /regex/expand/466 1180s ok 681 /regex/expand/467 1180s ok 682 /regex/expand/468 1180s ok 683 /regex/expand/469 1180s ok 684 /regex/expand/470 1180s ok 685 /regex/expand/471 1180s ok 686 /regex/expand/472 1180s ok 687 /regex/expand/473 1180s ok 688 /regex/expand/474 1180s ok 689 /regex/expand/475 1180s ok 690 /regex/expand/476 1180s ok 691 /regex/expand/477 1180s ok 692 /regex/expand/478 1180s ok 693 /regex/expand/479 1180s ok 694 /regex/expand/480 1180s ok 695 /regex/expand/481 1180s # End of expand tests 1180s # Start of replace tests 1180s ok 696 /regex/replace/482 1180s ok 697 /regex/replace/483 1180s ok 698 /regex/replace/484 1180s ok 699 /regex/replace/485 1180s ok 700 /regex/replace/486 1180s ok 701 /regex/replace/487 1180s ok 702 /regex/replace/488 1180s ok 703 /regex/replace/489 1180s ok 704 /regex/replace/490 1180s ok 705 /regex/replace/491 1180s ok 706 /regex/replace/492 1180s ok 707 /regex/replace/493 1180s ok 708 /regex/replace/494 1180s ok 709 /regex/replace/495 1180s ok 710 /regex/replace/496 1180s ok 711 /regex/replace/497 1180s ok 712 /regex/replace/498 1180s ok 713 /regex/replace/499 1180s ok 714 /regex/replace/500 1180s ok 715 /regex/replace/501 1180s ok 716 /regex/replace/502 1180s ok 717 /regex/replace/503 1180s ok 718 /regex/replace/504 1180s ok 719 /regex/replace/505 1180s ok 720 /regex/replace/506 1180s ok 721 /regex/replace/507 1180s ok 722 /regex/replace/508 1180s ok 723 /regex/replace/509 1180s # End of replace tests 1180s # Start of replace-optimized tests 1180s ok 724 /regex/replace-optimized/482 1180s ok 725 /regex/replace-optimized/483 1180s ok 726 /regex/replace-optimized/484 1180s ok 727 /regex/replace-optimized/485 1180s ok 728 /regex/replace-optimized/486 1180s ok 729 /regex/replace-optimized/487 1180s ok 730 /regex/replace-optimized/488 1180s ok 731 /regex/replace-optimized/489 1180s ok 732 /regex/replace-optimized/490 1180s ok 733 /regex/replace-optimized/491 1180s ok 734 /regex/replace-optimized/492 1180s ok 735 /regex/replace-optimized/493 1180s ok 736 /regex/replace-optimized/494 1180s ok 737 /regex/replace-optimized/495 1180s ok 738 /regex/replace-optimized/496 1180s ok 739 /regex/replace-optimized/497 1180s ok 740 /regex/replace-optimized/498 1180s ok 741 /regex/replace-optimized/499 1180s ok 742 /regex/replace-optimized/500 1180s ok 743 /regex/replace-optimized/501 1180s ok 744 /regex/replace-optimized/502 1180s ok 745 /regex/replace-optimized/503 1180s ok 746 /regex/replace-optimized/504 1180s ok 747 /regex/replace-optimized/505 1180s ok 748 /regex/replace-optimized/506 1180s ok 749 /regex/replace-optimized/507 1180s ok 750 /regex/replace-optimized/508 1180s ok 751 /regex/replace-optimized/509 1180s # End of replace-optimized tests 1180s # Start of replace-literally tests 1180s ok 752 /regex/replace-literally/510 1180s ok 753 /regex/replace-literally/511 1180s ok 754 /regex/replace-literally/512 1180s ok 755 /regex/replace-literally/513 1180s ok 756 /regex/replace-literally/514 1180s ok 757 /regex/replace-literally/515 1180s ok 758 /regex/replace-literally/516 1180s ok 759 /regex/replace-literally/517 1180s ok 760 /regex/replace-literally/518 1180s ok 761 /regex/replace-literally/519 1180s ok 762 /regex/replace-literally/520 1180s ok 763 /regex/replace-literally/521 1180s ok 764 /regex/replace-literally/522 1180s ok 765 /regex/replace-literally/523 1180s ok 766 /regex/replace-literally/524 1180s ok 767 /regex/replace-literally/525 1180s ok 768 /regex/replace-literally/526 1180s ok 769 /regex/replace-literally/527 1180s ok 770 /regex/replace-literally/528 1180s ok 771 /regex/replace-literally/529 1180s # End of replace-literally tests 1180s # Start of string-number tests 1180s ok 772 /regex/string-number/530 1180s ok 773 /regex/string-number/531 1180s ok 774 /regex/string-number/532 1180s ok 775 /regex/string-number/533 1180s ok 776 /regex/string-number/534 1180s ok 777 /regex/string-number/535 1180s ok 778 /regex/string-number/536 1180s ok 779 /regex/string-number/537 1180s ok 780 /regex/string-number/538 1180s ok 781 /regex/string-number/539 1180s ok 782 /regex/string-number/540 1180s ok 783 /regex/string-number/541 1180s ok 784 /regex/string-number/542 1180s ok 785 /regex/string-number/543 1180s ok 786 /regex/string-number/544 1180s # End of string-number tests 1180s # Start of escape_nul tests 1180s ok 787 /regex/escape_nul/545 1180s ok 788 /regex/escape_nul/546 1180s ok 789 /regex/escape_nul/547 1180s ok 790 /regex/escape_nul/548 1180s ok 791 /regex/escape_nul/549 1180s ok 792 /regex/escape_nul/550 1180s ok 793 /regex/escape_nul/551 1180s ok 794 /regex/escape_nul/552 1180s ok 795 /regex/escape_nul/553 1180s ok 796 /regex/escape_nul/554 1180s ok 797 /regex/escape_nul/555 1180s ok 798 /regex/escape_nul/556 1180s ok 799 /regex/escape_nul/557 1180s ok 800 /regex/escape_nul/558 1180s ok 801 /regex/escape_nul/559 1180s # End of escape_nul tests 1180s # Start of escape tests 1180s ok 802 /regex/escape/560 1180s ok 803 /regex/escape/561 1180s ok 804 /regex/escape/562 1180s ok 805 /regex/escape/563 1180s ok 806 /regex/escape/564 1180s ok 807 /regex/escape/565 1180s ok 808 /regex/escape/566 1180s ok 809 /regex/escape/567 1180s ok 810 /regex/escape/568 1180s ok 811 /regex/escape/569 1180s ok 812 /regex/escape/570 1180s ok 813 /regex/escape/571 1180s ok 814 /regex/escape/572 1180s ok 815 /regex/escape/573 1180s ok 816 /regex/escape/574 1180s ok 817 /regex/escape/575 1180s ok 818 /regex/escape/576 1180s ok 819 /regex/escape/577 1180s # End of escape tests 1180s # Start of match-all0 tests 1180s ok 820 /regex/match-all0/578 1180s ok 821 /regex/match-all0/580 1180s # End of match-all0 tests 1180s # Start of match-all-full0 tests 1180s ok 822 /regex/match-all-full0/579 1180s ok 823 /regex/match-all-full0/581 1180s ok 824 /regex/match-all-full0/582 1180s ok 825 /regex/match-all-full0/583 1180s # End of match-all-full0 tests 1180s # Start of match-all1 tests 1180s ok 826 /regex/match-all1/584 1180s ok 827 /regex/match-all1/586 1180s ok 828 /regex/match-all1/591 1180s # End of match-all1 tests 1180s # Start of match-all-full1 tests 1180s ok 829 /regex/match-all-full1/585 1180s ok 830 /regex/match-all-full1/587 1180s ok 831 /regex/match-all-full1/588 1180s ok 832 /regex/match-all-full1/589 1180s ok 833 /regex/match-all-full1/590 1180s ok 834 /regex/match-all-full1/592 1180s # End of match-all-full1 tests 1180s # Start of match-all2 tests 1180s ok 835 /regex/match-all2/593 1180s ok 836 /regex/match-all2/595 1180s ok 837 /regex/match-all2/597 1180s # End of match-all2 tests 1180s # Start of match-all-full2 tests 1180s ok 838 /regex/match-all-full2/594 1180s ok 839 /regex/match-all-full2/596 1180s ok 840 /regex/match-all-full2/598 1180s # End of match-all-full2 tests 1180s # Start of match-all3 tests 1180s ok 841 /regex/match-all3/599 1180s ok 842 /regex/match-all3/601 1180s # End of match-all3 tests 1180s # Start of match-all-full3 tests 1180s ok 843 /regex/match-all-full3/600 1180s ok 844 /regex/match-all-full3/602 1180s # End of match-all-full3 tests 1180s # Start of match-notempty tests 1180s ok 845 /regex/match-notempty/603 1180s # End of match-notempty tests 1180s # Start of match-notempty-optimized tests 1180s ok 846 /regex/match-notempty-optimized/603 1180s # End of match-notempty-optimized tests 1180s # Start of match-notempty-atstart tests 1180s ok 847 /regex/match-notempty-atstart/604 1180s # End of match-notempty-atstart tests 1180s # Start of match-notempty-atstart-optimized tests 1180s ok 848 /regex/match-notempty-atstart-optimized/604 1180s # End of match-notempty-atstart-optimized tests 1180s # End of regex tests 1180s ok - glib/regex.test 1180s # Running test: glib/atomic.test 1180s TAP version 13 1180s # random seed: R02S24f805bda01d77ded8d9006c76532f94 1180s 1..2 1180s # Start of atomic tests 1180s ok 1 /atomic/types 1180s ok 2 /atomic/threaded 1180s # End of atomic tests 1180s ok - glib/atomic.test 1180s # Running test: glib/markup-escape.test 1180s TAP version 13 1180s # random seed: R02S776f4ddc3040f07eb7f7ab9afede4bb8 1180s 1..41 1180s # Start of markup tests 1180s ok 1 /markup/format 1180s # Start of escape-text tests 1180s ok 2 /markup/escape-text/0 1180s ok 3 /markup/escape-text/1 1180s ok 4 /markup/escape-text/2 1180s ok 5 /markup/escape-text/3 1180s ok 6 /markup/escape-text/4 1180s ok 7 /markup/escape-text/5 1180s ok 8 /markup/escape-text/6 1180s ok 9 /markup/escape-text/7 1180s ok 10 /markup/escape-text/8 1180s ok 11 /markup/escape-text/9 1180s ok 12 /markup/escape-text/10 1180s ok 13 /markup/escape-text/11 1180s ok 14 /markup/escape-text/12 1180s ok 15 /markup/escape-text/13 1180s ok 16 /markup/escape-text/14 1180s ok 17 /markup/escape-text/15 1180s ok 18 /markup/escape-text/16 1180s ok 19 /markup/escape-text/17 1180s ok 20 /markup/escape-text/18 1180s ok 21 /markup/escape-text/19 1180s ok 22 /markup/escape-text/20 1180s ok 23 /markup/escape-text/21 1180s ok 24 /markup/escape-text/22 1180s # End of escape-text tests 1180s # Start of escape-unichar tests 1180s ok 25 /markup/escape-unichar/0 1180s ok 26 /markup/escape-unichar/1 1180s ok 27 /markup/escape-unichar/2 1180s ok 28 /markup/escape-unichar/3 1180s ok 29 /markup/escape-unichar/4 1180s ok 30 /markup/escape-unichar/5 1180s ok 31 /markup/escape-unichar/6 1180s ok 32 /markup/escape-unichar/7 1180s ok 33 /markup/escape-unichar/8 1180s ok 34 /markup/escape-unichar/9 1180s ok 35 /markup/escape-unichar/10 1180s ok 36 /markup/escape-unichar/11 1180s ok 37 /markup/escape-unichar/12 1180s ok 38 /markup/escape-unichar/13 1180s ok 39 /markup/escape-unichar/14 1180s ok 40 /markup/escape-unichar/15 1180s ok 41 /markup/escape-unichar/16 1180s # End of escape-unichar tests 1180s # End of markup tests 1180s ok - glib/markup-escape.test 1180s # Running test: glib/gsubprocess.test 1180s TAP version 13 1180s # random seed: R02Sa4e3453f2ba790e99797603de8374ccb 1180s 1..83 1180s # Start of gsubprocess tests 1180s ok 1 /gsubprocess/noop 1180s ok 2 /gsubprocess/noop-all-to-null 1180s ok 3 /gsubprocess/noop-no-wait 1180s ok 4 /gsubprocess/noop-stdin-inherit 1180s ok 5 /gsubprocess/search-path 1180s ok 6 /gsubprocess/search-path-from-envp 1182s # Executing: glib/gsubprocess.test 1183s ok 7 /gsubprocess/signal 1183s # slow test /gsubprocess/signal executed in 3.24 secs 1183s ok 8 /gsubprocess/exit1 1183s ok 9 /gsubprocess/echo1 1183s ok 10 /gsubprocess/echo-merged 1183s ok 11 /gsubprocess/cat-utf8 1184s ok 12 /gsubprocess/cat-eof 1184s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1187s # Executing: glib/gsubprocess.test 1187s ok 13 /gsubprocess/multi1 1187s # slow test /gsubprocess/multi1 executed in 3.01 secs 1187s ok 14 /gsubprocess/communicate 1190s ok 15 /gsubprocess/terminate 1190s # slow test /gsubprocess/terminate executed in 2.97 secs 1190s ok 16 /gsubprocess/env 1190s ok 17 /gsubprocess/cwd 1190s ok 18 /gsubprocess/launcher-close 1190s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1190s ok 19 /gsubprocess/stdout-file 1190s ok 20 /gsubprocess/stdout-fd 1190s ok 21 /gsubprocess/child-setup 1190s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1190s ok 22 /gsubprocess/launcher-environment 1190s # Start of exit1 tests 1190s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1190s ok 23 /gsubprocess/exit1/cancel 1190s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1190s ok 24 /gsubprocess/exit1/cancel_in_cb 1190s # End of exit1 tests 1190s # Start of communicate tests 1190s ok 25 /gsubprocess/communicate/cancelled 1190s ok 26 /gsubprocess/communicate/async 1190s ok 27 /gsubprocess/communicate/utf8 1190s # hello world 1190s ok 28 /gsubprocess/communicate/no-pipes 1190s ok 29 /gsubprocess/communicate/separate-stderr 1190s ok 30 /gsubprocess/communicate/stdout-only 1190s # hello world 1190s ok 31 /gsubprocess/communicate/stderr-only 1190s ok 32 /gsubprocess/communicate/stdout-silence 1190s ok 33 /gsubprocess/communicate/nothing 1190s # Start of async tests 1190s ok 34 /gsubprocess/communicate/async/cancelled 1190s # hello world 1190s ok 35 /gsubprocess/communicate/async/no-pipes 1190s ok 36 /gsubprocess/communicate/async/separate-stderr 1190s ok 37 /gsubprocess/communicate/async/stdout-only 1190s # hello world 1190s ok 38 /gsubprocess/communicate/async/stderr-only 1190s ok 39 /gsubprocess/communicate/async/stdout-silence 1190s # Start of cancelled tests 1190s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1190s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1190s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1190s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1190s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1190s # End of cancelled tests 1190s # End of async tests 1190s # Start of utf8 tests 1190s ok 45 /gsubprocess/communicate/utf8/cancelled 1190s ok 46 /gsubprocess/communicate/utf8/async 1190s # hello world 1190s ok 47 /gsubprocess/communicate/utf8/no-pipes 1190s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1190s ok 49 /gsubprocess/communicate/utf8/stdout-only 1190s # hello world 1190s ok 50 /gsubprocess/communicate/utf8/stderr-only 1190s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1190s ok 52 /gsubprocess/communicate/utf8/invalid 1190s # Start of async tests 1190s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1190s # hello world 1190s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1190s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1190s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1190s # hello world 1190s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1190s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1190s ok 59 /gsubprocess/communicate/utf8/async/invalid 1190s # Start of cancelled tests 1190s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1190s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1190s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1190s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1190s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1190s # End of cancelled tests 1190s # End of async tests 1190s # Start of cancelled tests 1190s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1190s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1190s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1190s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1190s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1190s # End of cancelled tests 1190s # End of utf8 tests 1190s # Start of cancelled tests 1190s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1190s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1190s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1190s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1190s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1190s # End of cancelled tests 1190s # End of communicate tests 1190s # Start of env tests 1190s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1190s ok 75 /gsubprocess/env/inherit 1190s # End of env tests 1190s # Start of pass-fd tests 1190s ok 76 /gsubprocess/pass-fd/basic 1190s ok 77 /gsubprocess/pass-fd/empty-child-setup 1190s ok 78 /gsubprocess/pass-fd/inherit-fds 1190s # End of pass-fd tests 1190s # Start of fd-conflation tests 1190s ok 79 /gsubprocess/fd-conflation/basic 1190s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1190s ok 81 /gsubprocess/fd-conflation/inherit-fds 1190s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1190s # End of fd-conflation tests 1190s # Start of exit-status tests 1190s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1190s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1190s ok 83 /gsubprocess/exit-status/trapped 1190s # End of exit-status tests 1190s # End of gsubprocess tests 1190s ok - glib/gsubprocess.test 1190s # Running test: glib/option-argv0.test 1190s TAP version 13 1190s # random seed: R02S26c2ac32044fcc3c649bd3e5f2293e57 1190s 1..1 1190s # Start of option tests 1190s ok 1 /option/argv0 1190s # End of option tests 1190s ok - glib/option-argv0.test 1190s # Running test: glib/gdbus-method-invocation.test 1190s TAP version 13 1190s # random seed: R02Sf0ad0b1c57a2523b1ae175d03ffee90d 1190s 1..1 1190s # Start of gdbus tests 1190s # Start of method-invocation tests 1190s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/home 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/cache 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/system-config2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/config 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/system-data2 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/data 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/state 1190s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_QJTOK2/gdbus/method-invocation/return/.dirs/runtime 1190s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1190s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1190s # Calling org.freedesktop.DBus.Properties.Get 1190s # Calling org.freedesktop.DBus.Properties.Get 1190s # Calling org.freedesktop.DBus.Properties.Get 1190s # Calling org.freedesktop.DBus.Properties.Set 1190s # Calling org.freedesktop.DBus.Properties.GetAll 1190s # Calling org.example.Foo.WrongReturnType 1190s # Calling org.example.Foo.GetFDs 1190s # Calling org.example.Foo.GetFDs 1190s # Calling org.example.Foo.ReturnError 1190s # Calling org.example.Foo.CloseBeforeReturning 1190s ok 1 /gdbus/method-invocation/return 1190s # End of method-invocation tests 1190s # End of gdbus tests 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1190s ok - glib/gdbus-method-invocation.test 1190s # Running test: glib/gdbus-auth.test 1190s TAP version 13 1191s # random seed: R02Sa95fb66914124c56359729acbb4c356b 1191s 1..5 1191s # Start of gdbus tests 1191s # Start of auth tests 1191s # Start of client tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1191s ok 1 /gdbus/auth/client/EXTERNAL 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1191s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1191s # End of client tests 1191s # Start of server tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1191s ok 3 /gdbus/auth/server/ANONYMOUS 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1191s ok 4 /gdbus/auth/server/EXTERNAL 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0HPSK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1191s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1191s # End of server tests 1191s # End of auth tests 1191s # End of gdbus tests 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s ok - glib/gdbus-auth.test 1191s # Running test: glib/tls-database.test 1191s TAP version 13 1191s # random seed: R02Sd6319f2a56041dd725971ebc2d520418 1191s 1..1 1191s # Start of tls-backend tests 1191s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1191s ok 1 /tls-backend/set-default-database 1191s # End of tls-backend tests 1191s ok - glib/tls-database.test 1191s # Running test: glib/cache.test 1191s TAP version 13 1191s # random seed: R02Sc5dc5aebbc6cc9bfc5178b6312fdb70c 1191s 1..1 1191s # Start of cache tests 1191s ok 1 /cache/basic 1191s # End of cache tests 1191s ok - glib/cache.test 1191s # Running test: glib/io-channel.test 1191s TAP version 13 1191s # random seed: R02S1d60307073b2c136d5404ff48c8e6d0a 1191s 1..2 1191s # Start of io-channel tests 1191s # Line one 1191s # 1191s # Line two 1191s # 1191s # Line three 1191s # 1191s # /* Hello */ 1191s # 1191s # \x1234\x567890\x6666 1191s # 1191s # read 62 bytes, wrote 62 bytes 1191s ok 1 /io-channel/read-write 1191s # Start of read-line tests 1191s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1191s ok 2 /io-channel/read-line/embedded-nuls 1191s # End of read-line tests 1191s # End of io-channel tests 1191s ok - glib/io-channel.test 1191s # Running test: glib/macros-c-17.test 1191s TAP version 13 1191s # random seed: R02S829aa307a32a872cc58e2f1cbd68a79c 1191s 1..4 1191s # Start of C tests 1191s ok 1 /C/standard-17 1191s # End of C tests 1191s # Start of alignof tests 1191s ok 2 /alignof/fallback 1191s # End of alignof tests 1191s # Start of assert tests 1191s ok 3 /assert/static 1191s # End of assert tests 1191s # Start of struct tests 1191s ok 4 /struct/sizeof_member 1191s # End of struct tests 1191s ok - glib/macros-c-17.test 1191s # Running test: glib/fileattributematcher.test 1191s TAP version 13 1191s # random seed: R02S34704e20afee9e16757fa3aaef0ee2b0 1191s 1..3 1191s # Start of fileattributematcher tests 1191s ok 1 /fileattributematcher/exact 1191s ok 2 /fileattributematcher/equality 1191s ok 3 /fileattributematcher/subtract 1191s # End of fileattributematcher tests 1191s ok - glib/fileattributematcher.test 1191s # Running test: glib/refstring.test 1191s TAP version 13 1191s # random seed: R02Seb337eec83e500010703e2e99febbe34 1191s 1..5 1191s # Start of refstring tests 1191s # s = 'hello, world' (0x15c931308660) 1191s ok 1 /refstring/base 1191s ok 2 /refstring/length 1191s ok 3 /refstring/length-auto 1191s ok 4 /refstring/length-nuls 1191s # s = 'hello, world' (0x15c931308660) 1191s # p = s = 'hello, world' (0x15c931308660) 1191s # releasing p[0x15c931308660] ('hello, world') 1191s # p = 'goodbye, world' (0x15c9313106c0) 1191s # releasing p[0x15c9313106c0] ('goodbye, world') 1191s # releasing s[0x15c931308660] ('hello, world') 1191s ok 5 /refstring/intern 1191s # End of refstring tests 1191s ok - glib/refstring.test 1191s # Running test: glib/gdbus-connection-slow.test 1191s TAP version 13 1191s # random seed: R02Scfc5fcae801c222fab8bcfb5a962a564 1191s 1..2 1191s # Start of gdbus tests 1191s # Start of connection tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/flush/.dirs/runtime 1191s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s ok 1 /gdbus/connection/flush 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_BXETK2/gdbus/connection/large_message/.dirs/runtime 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1191s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1191s ok 2 /gdbus/connection/large_message 1191s # End of connection tests 1191s # End of gdbus tests 1191s ok - glib/gdbus-connection-slow.test 1191s # Running test: glib/gdbus-exit-on-close.test 1191s TAP version 13 1191s # random seed: R02S4dd36069391494b2370dfe4b2722573d 1191s 1..4 1191s # Start of gdbus tests 1191s # Start of exit-on-close tests 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/default/.dirs/runtime 1191s ok 1 /gdbus/exit-on-close/default 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/true/.dirs/runtime 1191s ok 2 /gdbus/exit-on-close/true 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/false/.dirs/runtime 1191s ok 3 /gdbus/exit-on-close/false 1191s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/home 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/cache 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/system-config2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/config 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/system-data2 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/data 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/state 1191s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YJZJK2/gdbus/exit-on-close/we-close/.dirs/runtime 1191s ok 4 /gdbus/exit-on-close/we-close 1191s # Start of default tests 1191s # End of default tests 1191s # Start of true tests 1191s # End of true tests 1191s # Start of false tests 1191s # End of false tests 1191s # Start of we-close tests 1191s # End of we-close tests 1191s # End of exit-on-close tests 1191s # End of gdbus tests 1191s ok - glib/gdbus-exit-on-close.test 1191s # Running test: glib/deftype.test 1191s ok - glib/deftype.test 1191s # Running test: glib/data-input-stream.test 1191s TAP version 13 1191s # random seed: R02S6e20e616395de4d1132be9f4d08c36b4 1191s 1..10 1191s # Start of data-input-stream tests 1191s ok 1 /data-input-stream/basic 1191s ok 2 /data-input-stream/read-lines-LF 1191s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1191s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1191s ok 5 /data-input-stream/read-lines-CR 1191s ok 6 /data-input-stream/read-lines-CR-LF 1192s ok 7 /data-input-stream/read-lines-any 1192s ok 8 /data-input-stream/read-until 1192s ok 9 /data-input-stream/read-upto 1192s ok 10 /data-input-stream/read-int 1192s # End of data-input-stream tests 1192s ok - glib/data-input-stream.test 1192s # Running test: glib/portal-support-flatpak-network-only.test 1192s TAP version 13 1192s # random seed: R02S16be103d39969406de540e38ffd1b8fb 1192s 1..1 1192s # Start of portal-support tests 1192s # Start of flatpak tests 1192s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/home 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/cache 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/system-config2 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/config 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/system-data2 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/data 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/state 1192s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/runtime 1192s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_H1UXK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1192s ok 1 /portal-support/flatpak/network 1192s # End of flatpak tests 1192s # End of portal-support tests 1192s ok - glib/portal-support-flatpak-network-only.test 1192s # Running test: glib/gio-tool.py.test 1192s TAP version 13 1192s ok 1 __main__.TestGioTool.test_help 1192s # tmpdir: /tmp/tmpy6s7641c 1192s # gio: /usr/bin/gio 1192s # Running: ['/usr/bin/gio', '--help'] 1192s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1192s # Output: Usage: 1192s # gio COMMAND [ARGS…] 1192s # 1192s # Commands: 1192s # help Print help 1192s # version Print version 1192s # cat Concatenate files to standard output 1192s # copy Copy one or more files 1192s # info Show information about locations 1192s # launch Launch an application from a desktop file 1192s # list List the contents of locations 1192s # mime Get or set the handler for a mimetype 1192s # mkdir Create directories 1192s # monitor Monitor files and directories for changes 1192s # mount Mount or unmount the locations 1192s # move Move one or more files 1192s # open Open files with the default application 1192s # rename Rename a file 1192s # remove Delete one or more files 1192s # save Read from standard input and save 1192s # set Set a file attribute 1192s # trash Move files or directories to the trash 1192s # tree Lists the contents of locations in a tree 1192s # 1192s # Use “gio help COMMAND” to get detailed help. 1192s # Running: ['/usr/bin/gio', 'help'] 1192s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1192s # Output: Usage: 1192s # gio COMMAND [ARGS…] 1192s # 1192s # Commands: 1192s # help Print help 1192s # version Print version 1192s # cat Concatenate files to standard output 1192s # copy Copy one or more files 1192s # info Show information about locations 1192s # launch Launch an application from a desktop file 1192s # list List the contents of locations 1192s # mime Get or set the handler for a mimetype 1192s # mkdir Create directories 1192s # monitor Monitor files and directories for changes 1192s # mount Mount or unmount the locations 1192s # move Move one or more files 1192s # open Open files with the default application 1192s # rename Rename a file 1192s # remove Delete one or more files 1192s # save Read from standard input and save 1192s # set Set a file attribute 1192s # trash Move files or directories to the trash 1192s # tree Lists the contents of locations in a tree 1192s # 1192s # Use “gio help COMMAND” to get detailed help. 1192s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1192s # tmpdir: /tmp/tmpss9wpsbq 1192s # gio: /usr/bin/gio 1192s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpss9wpsbq/tmpiy736cvv'] 1192s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1192s # Output: uri: file:///tmp/tmpss9wpsbq/tmpiy736cvv 1192s # local path: /tmp/tmpss9wpsbq/tmpiy736cvv 1192s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1192s # attributes: 1192s # standard::content-type: application/x-zerosize 1192s ok 3 __main__.TestGioTool.test_no_args 1192s # tmpdir: /tmp/tmpe_0w0am6 1192s # gio: /usr/bin/gio 1192s # Running: ['/usr/bin/gio'] 1192s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1192s 1..3 1192s ok - glib/gio-tool.py.test 1192s # Running test: glib/properties-refcount4.test 1192s TAP version 13 1192s # random seed: R02Sb0c31d317788e4e8f1fb8f7da86ab9ca 1192s 1..1 1192s # Start of gobject tests 1192s # Start of refcount tests 1192s ok 1 /gobject/refcount/properties-4 1192s # End of refcount tests 1192s # End of gobject tests 1192s ok - glib/properties-refcount4.test 1192s # Running test: glib/list.test 1192s TAP version 13 1192s # random seed: R02S49df6df224b99a39dba629e7507387ec 1192s 1..20 1192s # Start of list tests 1192s ok 1 /list/sort 1192s ok 2 /list/sort-with-data 1192s ok 3 /list/insert-before-link 1192s ok 4 /list/insert-sorted 1192s ok 5 /list/insert-sorted-with-data 1192s ok 6 /list/reverse 1192s ok 7 /list/nth 1192s ok 8 /list/concat 1192s ok 9 /list/remove 1192s ok 10 /list/remove-all 1192s ok 11 /list/first-last 1192s ok 12 /list/insert 1192s ok 13 /list/free-full 1192s ok 14 /list/copy 1192s ok 15 /list/copy-deep 1192s ok 16 /list/delete-link 1192s ok 17 /list/prepend 1192s ok 18 /list/position 1192s ok 19 /list/double-free 1192s # Start of sort tests 1192s ok 20 /list/sort/stable 1192s # End of sort tests 1192s # End of list tests 1192s ok - glib/list.test 1192s # Running test: glib/cmph-bdz.test 1192s TAP version 13 1192s # random seed: R02S6cb75bcc53b7d01454f17f0d2cc60dbb 1192s 1..2 1192s # Start of cmph-bdz tests 1192s ok 1 /cmph-bdz/search 1192s ok 2 /cmph-bdz/search-packed 1192s # End of cmph-bdz tests 1192s ok - glib/cmph-bdz.test 1192s # Running test: glib/testing.test 1192s TAP version 13 1192s # random seed: R02S407ba29027f8085ffdec4f8695e2a19f 1192s 1..1 1192s # Start of assert tests 1192s ok 1 /assert/finalize_object 1192s # Start of finalize_object tests 1192s # Start of subprocess tests 1192s # End of subprocess tests 1192s # End of finalize_object tests 1192s # End of assert tests 1192s ok - glib/testing.test 1192s # Running test: glib/collate.test 1192s TAP version 13 1192s # random seed: R02S986443dc122e70cb93e1b8926ed0112f 1192s 1..9 1192s # Start of unicode tests 1192s # Start of collate tests 1192s ok 1 /unicode/collate/0 1192s ok 2 /unicode/collate/1 1192s ok 3 /unicode/collate/2 1192s # End of collate tests 1192s # Start of collate-key tests 1192s ok 4 /unicode/collate-key/0 1192s ok 5 /unicode/collate-key/1 1192s ok 6 /unicode/collate-key/2 1192s # End of collate-key tests 1192s # Start of collate-filename tests 1192s ok 7 /unicode/collate-filename/0 1192s ok 8 /unicode/collate-filename/1 1192s ok 9 /unicode/collate-filename/2 1192s # End of collate-filename tests 1192s # End of unicode tests 1192s ok - glib/collate.test 1192s # Running test: glib/markup-subparser.test 1192s TAP version 13 1192s # random seed: R02S6ef56442b9732535eb478fa0162a27db 1192s 1..14 1192s # Start of glib tests 1192s # Start of markup tests 1192s # Start of subparser tests 1192s # Start of success tests 1192s ok 1 /glib/markup/subparser/success/0 1192s ok 2 /glib/markup/subparser/success/1 1192s ok 3 /glib/markup/subparser/success/2 1192s ok 4 /glib/markup/subparser/success/3 1192s ok 5 /glib/markup/subparser/success/4 1192s ok 6 /glib/markup/subparser/success/5 1192s ok 7 /glib/markup/subparser/success/6 1192s # End of success tests 1192s # Start of failure tests 1192s ok 8 /glib/markup/subparser/failure/0 1192s ok 9 /glib/markup/subparser/failure/1 1192s ok 10 /glib/markup/subparser/failure/2 1192s ok 11 /glib/markup/subparser/failure/3 1192s ok 12 /glib/markup/subparser/failure/4 1192s ok 13 /glib/markup/subparser/failure/5 1192s ok 14 /glib/markup/subparser/failure/6 1192s # End of failure tests 1192s # End of subparser tests 1192s # End of markup tests 1192s # End of glib tests 1192s ok - glib/markup-subparser.test 1192s # Running test: glib/objects-refcount2.test 1192s TAP version 13 1192s # random seed: R02Sff4bccb8d4bfe036ee7c7b8040ccddd4 1192s 1..1 1192s # Start of gobject tests 1192s # Start of refcount tests 1192s # init 0x2c55d75e740 1192s # 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # Executing: glib/objects-refcount2.test 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # Executing: glib/objects-refcount2.test 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # Executing: glib/objects-refcount2.test 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # Executing: glib/objects-refcount2.test 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1211s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # Executing: glib/objects-refcount2.test 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1212s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1213s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1214s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1215s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1216s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1217s # Executing: glib/objects-refcount2.test 1217s # . 1217s # . 1217s # . 1217s # . 1217s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1218s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1219s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1220s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1221s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # Executing: glib/objects-refcount2.test 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1222s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1223s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1224s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1225s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1226s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # Executing: glib/objects-refcount2.test 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1227s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1228s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1229s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # . 1230s # dispose 0x2c55d75e740! 1230s # 1230s ok 1 /gobject/refcount/object-advanced 1230s # slow test /gobject/refcount/object-advanced executed in 38.09 secs 1230s # End of refcount tests 1230s # End of gobject tests 1230s ok - glib/objects-refcount2.test 1230s # Running test: glib/autoptr.test 1230s TAP version 13 1230s # random seed: R02Sbba39cad0d2ca811c6a93bb5988ea30d 1230s 1..6 1230s # Start of autoptr tests 1230s ok 1 /autoptr/autoptr 1230s ok 2 /autoptr/autoptr_steal 1230s ok 3 /autoptr/autolist 1230s ok 4 /autoptr/autoslist 1230s ok 5 /autoptr/autoqueue 1230s ok 6 /autoptr/autoclass 1230s # End of autoptr tests 1230s ok - glib/autoptr.test 1230s # Running test: glib/gdbus-threading.test 1230s TAP version 13 1230s # random seed: R02S07b9ee48cef6e7b446d3575faa191fad 1230s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1230s ok - glib/gdbus-threading.test 1230s # Running test: glib/network-monitor.test 1230s TAP version 13 1230s # random seed: R02S2cc0368402dcbb12013643fb4840c796 1230s 1..4 1230s # Start of network-monitor tests 1230s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1230s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1230s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1230s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1230s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1230s ok 1 /network-monitor/default 1230s ok 2 /network-monitor/remove_default 1230s ok 3 /network-monitor/add_networks 1230s ok 4 /network-monitor/remove_networks 1230s # End of network-monitor tests 1230s ok - glib/network-monitor.test 1230s # Running test: glib/thread.test 1230s TAP version 13 1230s # random seed: R02S0401f2a6a70ca2daa256b1a76eee572f 1230s 1..7 1230s # Start of thread tests 1230s ok 1 /thread/thread1 1230s ok 2 /thread/thread2 1230s ok 3 /thread/thread3 1230s ok 4 /thread/thread4 1230s ok 5 /thread/thread5 1230s ok 6 /thread/thread6 1230s ok 7 /thread/thread7 1230s # End of thread tests 1230s ok - glib/thread.test 1230s # Running test: glib/portal-support-snap-classic.test 1230s TAP version 13 1230s # random seed: R02Sc0bbf7c8fb8ef489c677f5b8361e0e49 1230s 1..3 1230s # Start of portal-support tests 1230s # Start of snap-classic tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1230s ok 1 /portal-support/snap-classic/no-snapctl 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/runtime 1230s # Created snap.yaml in /tmp/test_portal-support-snap-classic_DAP3K2/meta/snap.yaml 1230s # Created snapctl in /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1230s ok 2 /portal-support/snap-classic/none 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/runtime 1230s # Created snap.yaml in /tmp/test_portal-support-snap-classic_DAP3K2/meta/snap.yaml 1230s # Created snapctl in /tmp/test_portal-support-snap-classic_DAP3K2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1230s ok 3 /portal-support/snap-classic/all 1230s # End of snap-classic tests 1230s # End of portal-support tests 1230s ok - glib/portal-support-snap-classic.test 1230s # Running test: glib/signals-refcount2.test 1230s TAP version 13 1230s # random seed: R02S7dfcee2ed9077dc1208c8d7cb96a01e7 1230s 1..1 1230s # Start of gobject tests 1230s # Start of refcount tests 1230s # init 0xc390164f420 1230s # 1230s # init 0xc390164f5c0 1230s # 1232s # Executing: glib/signals-refcount2.test 1235s # dispose 0xc390164f420! 1235s # 1235s # dispose 0xc390164f5c0! 1235s # 1235s ok 1 /gobject/refcount/signals 1235s # slow test /gobject/refcount/signals executed in 5.00 secs 1235s # End of refcount tests 1235s # End of gobject tests 1235s ok - glib/signals-refcount2.test 1235s # Running test: glib/module-test-library.test 1235s TAP version 13 1235s # random seed: R02S1c45f282581d2f327a7be00541476dd7 1235s 1..2 1235s # Start of module tests 1235s ok 1 /module/basics 1235s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1235s ok 2 /module/invalid-libtool-archive 1235s # End of module tests 1235s ok - glib/module-test-library.test 1235s # Running test: glib/memory-monitor-portal.test 1235s TAP version 13 1235s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1235s 1..1 1235s ok - glib/memory-monitor-portal.test 1235s # Running test: glib/objects-refcount1.test 1235s TAP version 13 1235s # random seed: R02S4666c23ab9823fb55d6bd34272d1b91f 1235s 1..1 1235s # Start of gobject tests 1235s # Start of refcount tests 1235s # init 0xdd76f0e740 1235s # 1235s # init 0xdd76f0e8d0 1235s # 1237s # Executing: glib/objects-refcount1.test 1240s # dispose 0xdd76f0e740! 1240s # 1240s # dispose 0xdd76f0e8d0! 1240s # 1240s ok 1 /gobject/refcount/object-basics 1240s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1240s # End of refcount tests 1240s # End of gobject tests 1240s ok - glib/objects-refcount1.test 1240s # Running test: glib/basics-gobject.test 1240s TAP version 13 1240s # random seed: R02S582b4caeb7500532a1d98a13afdc450d 1240s 1..1 1240s # Start of gobject tests 1240s # private data during initialization: 54321 == 54321 1240s # MAIN: emit test-signal: 1240s # ::test_signal default_handler called 1240s # ::test_signal default_handler called 1240s # ::test_signal default_handler called 1240s # signal return: "" 1240s # MAIN: call iface print-string on test and derived object: 1240s # Iface-FOO: "iface-string-from-test-type" from 0x13bd04e1f7a0 1240s # Iface-BAR: "iface-string-from-derived-type" from 0x13bd04e1f6c0 1240s # chaining: 1240s # Iface-FOO: "iface-string-from-derived-type" from 0x13bd04e1f6c0 1240s # private data after initialization: 54321 == 54321 1240s ok 1 /gobject/basics 1240s # End of gobject tests 1240s ok - glib/basics-gobject.test 1240s # Running test: glib/portal-support-snap.test 1240s TAP version 13 1240s # random seed: R02S6a17178f088ff410c860f72a8515e16f 1240s 1..7 1240s # Start of portal-support tests 1240s # Start of snap tests 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/no-snapctl/.dirs/runtime 1240s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1240s ok 1 /portal-support/snap/no-snapctl 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/runtime 1240s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1240s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/none/.dirs/runtime/snapctl 1240s ok 2 /portal-support/snap/none 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/runtime 1240s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1240s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/all/.dirs/runtime/snapctl 1240s ok 3 /portal-support/snap/all 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/runtime 1240s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1240s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1240s ok 4 /portal-support/snap/desktop-only 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/runtime 1240s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1240s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/network-only/.dirs/runtime/snapctl 1240s ok 5 /portal-support/snap/network-only 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/runtime 1240s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1240s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1240s ok 6 /portal-support/snap/gsettings-only 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/cache 1241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/system-config2 1241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/config 1241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/system-data2 1241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/data 1241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/state 1241s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime 1241s # Created snap.yaml in /tmp/test_portal-support-snap_RJNOK2/meta/snap.yaml 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s # Created snapctl in /tmp/test_portal-support-snap_RJNOK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1241s ok 7 /portal-support/snap/updates-dynamically 1241s # End of snap tests 1241s # End of portal-support tests 1241s ok - glib/portal-support-snap.test 1241s # Running test: glib/boxed.test 1241s TAP version 13 1241s # random seed: R02Sc386e83f193de6e04c850724ac86391f 1241s 1..27 1241s # Start of boxed tests 1241s ok 1 /boxed/define 1241s ok 2 /boxed/ownership 1241s ok 3 /boxed/closure 1241s ok 4 /boxed/date 1241s ok 5 /boxed/value 1241s ok 6 /boxed/string 1241s ok 7 /boxed/hashtable 1241s ok 8 /boxed/array 1241s ok 9 /boxed/ptrarray 1241s ok 10 /boxed/regex 1241s ok 11 /boxed/varianttype 1241s ok 12 /boxed/error 1241s ok 13 /boxed/datetime 1241s ok 14 /boxed/matchinfo 1241s ok 15 /boxed/keyfile 1241s ok 16 /boxed/mainloop 1241s ok 17 /boxed/maincontext 1241s ok 18 /boxed/source 1241s ok 19 /boxed/variantbuilder 1241s ok 20 /boxed/timezone 1241s ok 21 /boxed/pollfd 1241s ok 22 /boxed/markup 1241s ok 23 /boxed/thread 1241s ok 24 /boxed/checksum 1241s ok 25 /boxed/tree 1241s ok 26 /boxed/patternspec 1241s ok 27 /boxed/rand 1241s # End of boxed tests 1241s ok - glib/boxed.test 1241s # Running test: glib/utf8-pointer.test 1241s TAP version 13 1241s # random seed: R02S51badf2472f4549ddbc398aba14d584b 1241s 1..3 1241s # Start of utf8 tests 1241s ok 1 /utf8/offsets 1241s # slow test /utf8/offsets executed in 0.82 secs 1241s ok 2 /utf8/lengths 1241s ok 3 /utf8/find 1241s # End of utf8 tests 1241s ok - glib/utf8-pointer.test 1241s # Running test: glib/codegen.py.test 1242s TAP version 13 1242s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1242s # tmpdir: /tmp/tmpf465z1sv 1242s # codegen: /usr/bin/gdbus-codegen 1242s # /tmp/tmpf465z1sv/tmpgzyu0pwf.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf465z1sv/tmpgzyu0pwf.xml', '--output', '-', '--header'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # Output: /* 1242s # * This file is generated by gdbus-codegen, do not modify it. 1242s # * 1242s # * The license of this code is the same as for the D-Bus interface description 1242s # * it was derived from. Note that it links to GLib, so must comply with the 1242s # * LGPL linking clauses. 1242s # */ 1242s # 1242s # #ifndef __STDOUT__ 1242s # #define __STDOUT__ 1242s # 1242s # #include 1242s # 1242s # G_BEGIN_DECLS 1242s # 1242s # 1242s # /* ------------------------------------------------------------------------ */ 1242s # /* Declarations for org.project.UsefulInterface */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1242s # 1242s # struct _OrgProjectUsefulInterface; 1242s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1242s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1242s # 1242s # struct _OrgProjectUsefulInterfaceIface 1242s # { 1242s # GTypeInterface parent_iface; 1242s # 1242s # gboolean (*handle_useful_method) ( 1242s # OrgProjectUsefulInterface *object, 1242s # GDBusMethodInvocation *invocation); 1242s # 1242s # }; 1242s # 1242s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1242s # 1242s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1242s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1242s # 1242s # 1242s # /* D-Bus method call completion functions: */ 1242s # void org_project_useful_interface_complete_useful_method ( 1242s # OrgProjectUsefulInterface *object, 1242s # GDBusMethodInvocation *invocation); 1242s # 1242s # 1242s # 1242s # /* D-Bus method calls: */ 1242s # void org_project_useful_interface_call_useful_method ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # 1242s # gboolean org_project_useful_interface_call_useful_method_finish ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # 1242s # gboolean org_project_useful_interface_call_useful_method_sync ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # 1242s # 1242s # /* ---- */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1242s # 1242s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1242s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1242s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1242s # 1242s # struct _OrgProjectUsefulInterfaceProxy 1242s # { 1242s # /*< private >*/ 1242s # GDBusProxy parent_instance; 1242s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1242s # }; 1242s # 1242s # struct _OrgProjectUsefulInterfaceProxyClass 1242s # { 1242s # GDBusProxyClass parent_class; 1242s # }; 1242s # 1242s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1242s # 1242s # #if GLIB_CHECK_VERSION(2, 44, 0) 1242s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1242s # #endif 1242s # 1242s # void org_project_useful_interface_proxy_new ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # void org_project_useful_interface_proxy_new_for_bus ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # 1242s # /* ---- */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1242s # 1242s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1242s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1242s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1242s # 1242s # struct _OrgProjectUsefulInterfaceSkeleton 1242s # { 1242s # /*< private >*/ 1242s # GDBusInterfaceSkeleton parent_instance; 1242s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1242s # }; 1242s # 1242s # struct _OrgProjectUsefulInterfaceSkeletonClass 1242s # { 1242s # GDBusInterfaceSkeletonClass parent_class; 1242s # }; 1242s # 1242s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1242s # 1242s # #if GLIB_CHECK_VERSION(2, 44, 0) 1242s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1242s # #endif 1242s # 1242s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1242s # 1242s # 1242s # G_END_DECLS 1242s # 1242s # #endif /* __STDOUT__ */ 1242s # /tmp/tmpf465z1sv/tmpgldgse3l.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf465z1sv/tmpgldgse3l.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # Output: /* 1242s # * This file is generated by gdbus-codegen, do not modify it. 1242s # * 1242s # * The license of this code is the same as for the D-Bus interface description 1242s # * it was derived from. Note that it links to GLib, so must comply with the 1242s # * LGPL linking clauses. 1242s # */ 1242s # 1242s # #ifndef __STDOUT__ 1242s # #define __STDOUT__ 1242s # 1242s # #include 1242s # 1242s # G_BEGIN_DECLS 1242s # 1242s # 1242s # /* ------------------------------------------------------------------------ */ 1242s # /* Declarations for org.project.UsefulInterface */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1242s # 1242s # struct _OrgProjectUsefulInterface; 1242s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1242s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1242s # 1242s # struct _OrgProjectUsefulInterfaceIface 1242s # { 1242s # GTypeInterface parent_iface; 1242s # 1242s # gboolean (*handle_useful_method) ( 1242s # OrgProjectUsefulInterface *object, 1242s # GDBusMethodInvocation *invocation); 1242s # 1242s # }; 1242s # 1242s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1242s # 1242s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1242s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1242s # 1242s # 1242s # /* D-Bus method call completion functions: */ 1242s # void org_project_useful_interface_complete_useful_method ( 1242s # OrgProjectUsefulInterface *object, 1242s # GDBusMethodInvocation *invocation); 1242s # 1242s # 1242s # 1242s # /* D-Bus method calls: */ 1242s # void org_project_useful_interface_call_useful_method ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # 1242s # gboolean org_project_useful_interface_call_useful_method_finish ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # 1242s # gboolean org_project_useful_interface_call_useful_method_sync ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # 1242s # 1242s # /* ---- */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1242s # 1242s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1242s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1242s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1242s # 1242s # struct _OrgProjectUsefulInterfaceProxy 1242s # { 1242s # /*< private >*/ 1242s # GDBusProxy parent_instance; 1242s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1242s # }; 1242s # 1242s # struct _OrgProjectUsefulInterfaceProxyClass 1242s # { 1242s # GDBusProxyClass parent_class; 1242s # }; 1242s # 1242s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1242s # 1242s # #if GLIB_CHECK_VERSION(2, 44, 0) 1242s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1242s # #endif 1242s # 1242s # void org_project_useful_interface_proxy_new ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # void org_project_useful_interface_proxy_new_for_bus ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # 1242s # /* ---- */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1242s # 1242s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1242s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1242s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1242s # 1242s # struct _OrgProjectUsefulInterfaceSkeleton 1242s # { 1242s # /*< private >*/ 1242s # GDBusInterfaceSkeleton parent_instance; 1242s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1242s # }; 1242s # 1242s # struct _OrgProjectUsefulInterfaceSkeletonClass 1242s # { 1242s # GDBusInterfaceSkeletonClass parent_class; 1242s # }; 1242s # 1242s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1242s # 1242s # #if GLIB_CHECK_VERSION(2, 44, 0) 1242s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1242s # #endif 1242s # 1242s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1242s # 1242s # 1242s # G_END_DECLS 1242s # 1242s # #endif /* __STDOUT__ */ 1242s # /tmp/tmpf465z1sv/tmp1fjj5_3s.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf465z1sv/tmp1fjj5_3s.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # Output: /* 1242s # * This file is generated by gdbus-codegen, do not modify it. 1242s # * 1242s # * The license of this code is the same as for the D-Bus interface description 1242s # * it was derived from. Note that it links to GLib, so must comply with the 1242s # * LGPL linking clauses. 1242s # */ 1242s # 1242s # #ifndef __STDOUT__ 1242s # #define __STDOUT__ 1242s # 1242s # #include 1242s # 1242s # G_BEGIN_DECLS 1242s # 1242s # 1242s # /* ------------------------------------------------------------------------ */ 1242s # /* Declarations for org.project.UsefulInterface */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1242s # 1242s # struct _OrgProjectUsefulInterface; 1242s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1242s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1242s # 1242s # struct _OrgProjectUsefulInterfaceIface 1242s # { 1242s # GTypeInterface parent_iface; 1242s # 1242s # gboolean (*handle_useful_method) ( 1242s # OrgProjectUsefulInterface *object, 1242s # GDBusMethodInvocation *invocation); 1242s # 1242s # }; 1242s # 1242s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1242s # 1242s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1242s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1242s # 1242s # 1242s # /* D-Bus method call completion functions: */ 1242s # void org_project_useful_interface_complete_useful_method ( 1242s # OrgProjectUsefulInterface *object, 1242s # GDBusMethodInvocation *invocation); 1242s # 1242s # 1242s # 1242s # /* D-Bus method calls: */ 1242s # void org_project_useful_interface_call_useful_method ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GDBusCallFlags call_flags, 1242s # gint timeout_msec, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # 1242s # gboolean org_project_useful_interface_call_useful_method_finish ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # 1242s # gboolean org_project_useful_interface_call_useful_method_sync ( 1242s # OrgProjectUsefulInterface *proxy, 1242s # GDBusCallFlags call_flags, 1242s # gint timeout_msec, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # 1242s # 1242s # /* ---- */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1242s # 1242s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1242s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1242s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1242s # 1242s # struct _OrgProjectUsefulInterfaceProxy 1242s # { 1242s # /*< private >*/ 1242s # GDBusProxy parent_instance; 1242s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1242s # }; 1242s # 1242s # struct _OrgProjectUsefulInterfaceProxyClass 1242s # { 1242s # GDBusProxyClass parent_class; 1242s # }; 1242s # 1242s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1242s # 1242s # #if GLIB_CHECK_VERSION(2, 44, 0) 1242s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1242s # #endif 1242s # 1242s # void org_project_useful_interface_proxy_new ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # void org_project_useful_interface_proxy_new_for_bus ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1242s # GAsyncResult *res, 1242s # GError **error); 1242s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error); 1242s # 1242s # 1242s # /* ---- */ 1242s # 1242s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1242s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1242s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1242s # 1242s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1242s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1242s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1242s # 1242s # struct _OrgProjectUsefulInterfaceSkeleton 1242s # { 1242s # /*< private >*/ 1242s # GDBusInterfaceSkeleton parent_instance; 1242s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1242s # }; 1242s # 1242s # struct _OrgProjectUsefulInterfaceSkeletonClass 1242s # { 1242s # GDBusInterfaceSkeletonClass parent_class; 1242s # }; 1242s # 1242s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1242s # 1242s # #if GLIB_CHECK_VERSION(2, 44, 0) 1242s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1242s # #endif 1242s # 1242s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1242s # 1242s # 1242s # G_END_DECLS 1242s # 1242s # #endif /* __STDOUT__ */ 1242s ok 2 __main__.TestCodegen.test_dbus_types 1242s # tmpdir: /tmp/tmpywsrsqkq 1242s # codegen: /usr/bin/gdbus-codegen 1242s # /tmp/tmpywsrsqkq/tmphto8bm5f.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmphto8bm5f.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmp5x7gfdhk.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmp5x7gfdhk.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmppy_frg6r.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmppy_frg6r.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmprydtunii.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmprydtunii.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpzjzl0kr4.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpzjzl0kr4.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpxr27cbm8.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpxr27cbm8.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpo6fxhc0w.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpo6fxhc0w.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpqm4og5dn.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpqm4og5dn.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmphedwqnic.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmphedwqnic.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpck6198q8.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpck6198q8.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpzz8mx5m5.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpzz8mx5m5.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmp188aky5b.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmp188aky5b.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmp8ftpkpdl.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmp8ftpkpdl.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # /tmp/tmpywsrsqkq/tmpr9we5ih4.xml: 1242s # 1242s # 1242s # 1242s # 1242s # 1242s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpr9we5ih4.xml', '--output', '-', '--body'] 1242s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1242s # Output: /* 1242s # * This file is generated by gdbus-codegen, do not modify it. 1242s # * 1242s # * The license of this code is the same as for the D-Bus interface description 1242s # * it was derived from. Note that it links to GLib, so must comply with the 1242s # * LGPL linking clauses. 1242s # */ 1242s # 1242s # #ifdef HAVE_CONFIG_H 1242s # # include "config.h" 1242s # #endif 1242s # 1242s # #include 1242s # #ifdef G_OS_UNIX 1242s # # include 1242s # #endif 1242s # 1242s # #ifdef G_ENABLE_DEBUG 1242s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1242s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1242s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1242s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1242s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1242s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1242s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1242s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1242s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1242s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1242s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1242s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1242s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1242s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1242s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1242s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1242s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1242s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1242s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1242s # #else /* !G_ENABLE_DEBUG */ 1242s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1242s # * Do not access GValues directly in your code. Instead, use the 1242s # * g_value_get_*() functions 1242s # */ 1242s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1242s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1242s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1242s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1242s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1242s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1242s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1242s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1242s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1242s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1242s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1242s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1242s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1242s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1242s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1242s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1242s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1242s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1242s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1242s # #endif /* !G_ENABLE_DEBUG */ 1242s # 1242s # typedef struct 1242s # { 1242s # GDBusArgInfo parent_struct; 1242s # gboolean use_gvariant; 1242s # } _ExtendedGDBusArgInfo; 1242s # 1242s # typedef struct 1242s # { 1242s # GDBusMethodInfo parent_struct; 1242s # const gchar *signal_name; 1242s # gboolean pass_fdlist; 1242s # } _ExtendedGDBusMethodInfo; 1242s # 1242s # typedef struct 1242s # { 1242s # GDBusSignalInfo parent_struct; 1242s # const gchar *signal_name; 1242s # } _ExtendedGDBusSignalInfo; 1242s # 1242s # typedef struct 1242s # { 1242s # GDBusPropertyInfo parent_struct; 1242s # const gchar *hyphen_name; 1242s # guint use_gvariant : 1; 1242s # guint emits_changed_signal : 1; 1242s # } _ExtendedGDBusPropertyInfo; 1242s # 1242s # typedef struct 1242s # { 1242s # GDBusInterfaceInfo parent_struct; 1242s # const gchar *hyphen_name; 1242s # } _ExtendedGDBusInterfaceInfo; 1242s # 1242s # typedef struct 1242s # { 1242s # const _ExtendedGDBusPropertyInfo *info; 1242s # guint prop_id; 1242s # GValue orig_value; /* the value before the change */ 1242s # } ChangedProperty; 1242s # 1242s # static void 1242s # _changed_property_free (ChangedProperty *data) 1242s # { 1242s # g_value_unset (&data->orig_value); 1242s # g_free (data); 1242s # } 1242s # 1242s # static gboolean 1242s # _g_strv_equal0 (gchar **a, gchar **b) 1242s # { 1242s # gboolean ret = FALSE; 1242s # guint n; 1242s # if (a == NULL && b == NULL) 1242s # { 1242s # ret = TRUE; 1242s # goto out; 1242s # } 1242s # if (a == NULL || b == NULL) 1242s # goto out; 1242s # if (g_strv_length (a) != g_strv_length (b)) 1242s # goto out; 1242s # for (n = 0; a[n] != NULL; n++) 1242s # if (g_strcmp0 (a[n], b[n]) != 0) 1242s # goto out; 1242s # ret = TRUE; 1242s # out: 1242s # return ret; 1242s # } 1242s # 1242s # static gboolean 1242s # _g_variant_equal0 (GVariant *a, GVariant *b) 1242s # { 1242s # gboolean ret = FALSE; 1242s # if (a == NULL && b == NULL) 1242s # { 1242s # ret = TRUE; 1242s # goto out; 1242s # } 1242s # if (a == NULL || b == NULL) 1242s # goto out; 1242s # ret = g_variant_equal (a, b); 1242s # out: 1242s # return ret; 1242s # } 1242s # 1242s # G_GNUC_UNUSED static gboolean 1242s # _g_value_equal (const GValue *a, const GValue *b) 1242s # { 1242s # gboolean ret = FALSE; 1242s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1242s # switch (G_VALUE_TYPE (a)) 1242s # { 1242s # case G_TYPE_BOOLEAN: 1242s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1242s # break; 1242s # case G_TYPE_UCHAR: 1242s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1242s # break; 1242s # case G_TYPE_INT: 1242s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1242s # break; 1242s # case G_TYPE_UINT: 1242s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1242s # break; 1242s # case G_TYPE_INT64: 1242s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1242s # break; 1242s # case G_TYPE_UINT64: 1242s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1242s # break; 1242s # case G_TYPE_DOUBLE: 1242s # { 1242s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1242s # gdouble da = g_value_get_double (a); 1242s # gdouble db = g_value_get_double (b); 1242s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1242s # } 1242s # break; 1242s # case G_TYPE_STRING: 1242s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1242s # break; 1242s # case G_TYPE_VARIANT: 1242s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1242s # break; 1242s # default: 1242s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1242s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1242s # else 1242s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1242s # break; 1242s # } 1242s # return ret; 1242s # } 1242s # 1242s # /* ------------------------------------------------------------------------ 1242s # * Code for interface GoodTypes 1242s # * ------------------------------------------------------------------------ 1242s # */ 1242s # 1242s # /** 1242s # * SECTION:GoodTypes 1242s # * @title: GoodTypes 1242s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1242s # * 1242s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1242s # */ 1242s # 1242s # /* ---- Introspection data for GoodTypes ---- */ 1242s # 1242s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1242s # { 1242s # { 1242s # -1, 1242s # (gchar *) "GoodPropertyType", 1242s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1242s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1242s # NULL 1242s # }, 1242s # "good-property-type", 1242s # FALSE, 1242s # TRUE 1242s # }; 1242s # 1242s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1242s # { 1242s # &_good_types_property_info_good_property_type.parent_struct, 1242s # NULL 1242s # }; 1242s # 1242s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1242s # { 1242s # { 1242s # -1, 1242s # (gchar *) "GoodTypes", 1242s # NULL, 1242s # NULL, 1242s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1242s # NULL 1242s # }, 1242s # "good-types", 1242s # }; 1242s # 1242s # 1242s # /** 1242s # * good_types_interface_info: 1242s # * 1242s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1242s # * 1242s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1242s # */ 1242s # GDBusInterfaceInfo * 1242s # good_types_interface_info (void) 1242s # { 1242s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1242s # } 1242s # 1242s # /** 1242s # * good_types_override_properties: 1242s # * @klass: The class structure for a #GObject derived class. 1242s # * @property_id_begin: The property id to assign to the first overridden property. 1242s # * 1242s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1242s # * The properties are overridden in the order they are defined. 1242s # * 1242s # * Returns: The last property id. 1242s # */ 1242s # guint 1242s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1242s # { 1242s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1242s # return property_id_begin - 1; 1242s # } 1242s # 1242s # 1242s # 1242s # /** 1242s # * GoodTypes: 1242s # * 1242s # * Abstract interface type for the D-Bus interface GoodTypes. 1242s # */ 1242s # 1242s # /** 1242s # * GoodTypesIface: 1242s # * @parent_iface: The parent interface. 1242s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1242s # * 1242s # * Virtual table for the D-Bus interface GoodTypes. 1242s # */ 1242s # 1242s # typedef GoodTypesIface GoodTypesInterface; 1242s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1242s # 1242s # static void 1242s # good_types_default_init (GoodTypesIface *iface) 1242s # { 1242s # /* GObject properties for D-Bus properties: */ 1242s # /** 1242s # * GoodTypes:good-property-type: 1242s # * 1242s # * Represents the D-Bus property "GoodPropertyType". 1242s # * 1242s # * 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. 1242s # */ 1242s # g_object_interface_install_property (iface, 1242s # 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)); 1242s # } 1242s # 1242s # /** 1242s # * good_types_get_good_property_type: (skip) 1242s # * @object: A GoodTypes. 1242s # * 1242s # * Gets the value of the "GoodPropertyType" D-Bus property. 1242s # * 1242s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1242s # * 1242s # * 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. 1242s # * 1242s # * 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. 1242s # */ 1242s # GVariant * 1242s # good_types_get_good_property_type (GoodTypes *object) 1242s # { 1242s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1242s # 1242s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1242s # } 1242s # 1242s # /** 1242s # * good_types_dup_good_property_type: (skip) 1242s # * @object: A GoodTypes. 1242s # * 1242s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1242s # * 1242s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1242s # * 1242s # * 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(). 1242s # */ 1242s # GVariant * 1242s # good_types_dup_good_property_type (GoodTypes *object) 1242s # { 1242s # GVariant *value; 1242s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1242s # return value; 1242s # } 1242s # 1242s # /** 1242s # * good_types_set_good_property_type: (skip) 1242s # * @object: A GoodTypes. 1242s # * @value: The value to set. 1242s # * 1242s # * Sets the "GoodPropertyType" D-Bus property to @value. 1242s # * 1242s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1242s # */ 1242s # void 1242s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1242s # { 1242s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1242s # } 1242s # 1242s # /* ------------------------------------------------------------------------ */ 1242s # 1242s # /** 1242s # * GoodTypesProxy: 1242s # * 1242s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1242s # */ 1242s # 1242s # /** 1242s # * GoodTypesProxyClass: 1242s # * @parent_class: The parent class. 1242s # * 1242s # * Class structure for GoodTypesProxy. 1242s # */ 1242s # 1242s # struct _GoodTypesProxyPrivate 1242s # { 1242s # GData *qdata; 1242s # }; 1242s # 1242s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1242s # 1242s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1242s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1242s # G_ADD_PRIVATE (GoodTypesProxy) 1242s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1242s # 1242s # #else 1242s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1242s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1242s # 1242s # #endif 1242s # static void 1242s # good_types_proxy_finalize (GObject *object) 1242s # { 1242s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1242s # g_datalist_clear (&proxy->priv->qdata); 1242s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_get_property (GObject *object, 1242s # guint prop_id, 1242s # GValue *value, 1242s # GParamSpec *pspec G_GNUC_UNUSED) 1242s # { 1242s # const _ExtendedGDBusPropertyInfo *info; 1242s # GVariant *variant; 1242s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1242s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1242s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1242s # if (info->use_gvariant) 1242s # { 1242s # g_value_set_variant (value, variant); 1242s # } 1242s # else 1242s # { 1242s # if (variant != NULL) 1242s # g_dbus_gvariant_to_gvalue (variant, value); 1242s # } 1242s # if (variant != NULL) 1242s # g_variant_unref (variant); 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1242s # GAsyncResult *res, 1242s # gpointer user_data) 1242s # { 1242s # const _ExtendedGDBusPropertyInfo *info = user_data; 1242s # GError *error; 1242s # GVariant *_ret; 1242s # error = NULL; 1242s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1242s # if (!_ret) 1242s # { 1242s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1242s # info->parent_struct.name, 1242s # error->message, g_quark_to_string (error->domain), error->code); 1242s # g_error_free (error); 1242s # } 1242s # else 1242s # { 1242s # g_variant_unref (_ret); 1242s # } 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_set_property (GObject *object, 1242s # guint prop_id, 1242s # const GValue *value, 1242s # GParamSpec *pspec G_GNUC_UNUSED) 1242s # { 1242s # const _ExtendedGDBusPropertyInfo *info; 1242s # GVariant *variant; 1242s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1242s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1242s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1242s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1242s # "org.freedesktop.DBus.Properties.Set", 1242s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1242s # G_DBUS_CALL_FLAGS_NONE, 1242s # -1, 1242s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1242s # g_variant_unref (variant); 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_g_signal (GDBusProxy *proxy, 1242s # const gchar *sender_name G_GNUC_UNUSED, 1242s # const gchar *signal_name, 1242s # GVariant *parameters) 1242s # { 1242s # _ExtendedGDBusSignalInfo *info; 1242s # GVariantIter iter; 1242s # GVariant *child; 1242s # GValue *paramv; 1242s # gsize num_params; 1242s # gsize n; 1242s # guint signal_id; 1242s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1242s # if (info == NULL) 1242s # return; 1242s # num_params = g_variant_n_children (parameters); 1242s # paramv = g_new0 (GValue, num_params + 1); 1242s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1242s # g_value_set_object (¶mv[0], proxy); 1242s # g_variant_iter_init (&iter, parameters); 1242s # n = 1; 1242s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1242s # { 1242s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1242s # if (arg_info->use_gvariant) 1242s # { 1242s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1242s # g_value_set_variant (¶mv[n], child); 1242s # n++; 1242s # } 1242s # else 1242s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1242s # g_variant_unref (child); 1242s # } 1242s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1242s # g_signal_emitv (paramv, signal_id, 0, NULL); 1242s # for (n = 0; n < num_params + 1; n++) 1242s # g_value_unset (¶mv[n]); 1242s # g_free (paramv); 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1242s # GVariant *changed_properties, 1242s # const gchar *const *invalidated_properties) 1242s # { 1242s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1242s # guint n; 1242s # const gchar *key; 1242s # GVariantIter *iter; 1242s # _ExtendedGDBusPropertyInfo *info; 1242s # g_variant_get (changed_properties, "a{sv}", &iter); 1242s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1242s # { 1242s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1242s # g_datalist_remove_data (&proxy->priv->qdata, key); 1242s # if (info != NULL) 1242s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1242s # } 1242s # g_variant_iter_free (iter); 1242s # for (n = 0; invalidated_properties[n] != NULL; n++) 1242s # { 1242s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1242s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1242s # if (info != NULL) 1242s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1242s # } 1242s # } 1242s # 1242s # static GVariant * 1242s # good_types_proxy_get_good_property_type (GoodTypes *object) 1242s # { 1242s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1242s # GVariant *variant; 1242s # GVariant *value = NULL; 1242s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1242s # value = variant; 1242s # if (variant != NULL) 1242s # g_variant_unref (variant); 1242s # return value; 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_init (GoodTypesProxy *proxy) 1242s # { 1242s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1242s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1242s # #else 1242s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1242s # #endif 1242s # 1242s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1242s # { 1242s # GObjectClass *gobject_class; 1242s # GDBusProxyClass *proxy_class; 1242s # 1242s # gobject_class = G_OBJECT_CLASS (klass); 1242s # gobject_class->finalize = good_types_proxy_finalize; 1242s # gobject_class->get_property = good_types_proxy_get_property; 1242s # gobject_class->set_property = good_types_proxy_set_property; 1242s # 1242s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1242s # proxy_class->g_signal = good_types_proxy_g_signal; 1242s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1242s # 1242s # good_types_override_properties (gobject_class, 1); 1242s # 1242s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1242s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1242s # #endif 1242s # } 1242s # 1242s # static void 1242s # good_types_proxy_iface_init (GoodTypesIface *iface) 1242s # { 1242s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1242s # } 1242s # 1242s # /** 1242s # * good_types_proxy_new: 1242s # * @connection: A #GDBusConnection. 1242s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1242s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1242s # * @object_path: An object path. 1242s # * @cancellable: (nullable): A #GCancellable or %NULL. 1242s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1242s # * @user_data: User data to pass to @callback. 1242s # * 1242s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1242s # * 1242s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1242s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1242s # * 1242s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1242s # */ 1242s # void 1242s # good_types_proxy_new ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data) 1242s # { 1242s # 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); 1242s # } 1242s # 1242s # /** 1242s # * good_types_proxy_new_finish: 1242s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1242s # * @error: Return location for error or %NULL 1242s # * 1242s # * Finishes an operation started with good_types_proxy_new(). 1242s # * 1242s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1242s # */ 1242s # GoodTypes * 1242s # good_types_proxy_new_finish ( 1242s # GAsyncResult *res, 1242s # GError **error) 1242s # { 1242s # GObject *ret; 1242s # GObject *source_object; 1242s # source_object = g_async_result_get_source_object (res); 1242s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1242s # g_object_unref (source_object); 1242s # if (ret != NULL) 1242s # return GOOD_TYPES (ret); 1242s # else 1242s # return NULL; 1242s # } 1242s # 1242s # /** 1242s # * good_types_proxy_new_sync: 1242s # * @connection: A #GDBusConnection. 1242s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1242s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1242s # * @object_path: An object path. 1242s # * @cancellable: (nullable): A #GCancellable or %NULL. 1242s # * @error: Return location for error or %NULL 1242s # * 1242s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1242s # * 1242s # * The calling thread is blocked until a reply is received. 1242s # * 1242s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1242s # * 1242s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1242s # */ 1242s # GoodTypes * 1242s # good_types_proxy_new_sync ( 1242s # GDBusConnection *connection, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error) 1242s # { 1242s # GInitable *ret; 1242s # 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); 1242s # if (ret != NULL) 1242s # return GOOD_TYPES (ret); 1242s # else 1242s # return NULL; 1242s # } 1242s # 1242s # 1242s # /** 1242s # * good_types_proxy_new_for_bus: 1242s # * @bus_type: A #GBusType. 1242s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1242s # * @name: A bus name (well-known or unique). 1242s # * @object_path: An object path. 1242s # * @cancellable: (nullable): A #GCancellable or %NULL. 1242s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1242s # * @user_data: User data to pass to @callback. 1242s # * 1242s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1242s # * 1242s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1242s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1242s # * 1242s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1242s # */ 1242s # void 1242s # good_types_proxy_new_for_bus ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GAsyncReadyCallback callback, 1242s # gpointer user_data) 1242s # { 1242s # 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); 1242s # } 1242s # 1242s # /** 1242s # * good_types_proxy_new_for_bus_finish: 1242s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1242s # * @error: Return location for error or %NULL 1242s # * 1242s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1242s # * 1242s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1242s # */ 1242s # GoodTypes * 1242s # good_types_proxy_new_for_bus_finish ( 1242s # GAsyncResult *res, 1242s # GError **error) 1242s # { 1242s # GObject *ret; 1242s # GObject *source_object; 1242s # source_object = g_async_result_get_source_object (res); 1242s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1242s # g_object_unref (source_object); 1242s # if (ret != NULL) 1242s # return GOOD_TYPES (ret); 1242s # else 1242s # return NULL; 1242s # } 1242s # 1242s # /** 1242s # * good_types_proxy_new_for_bus_sync: 1242s # * @bus_type: A #GBusType. 1242s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1242s # * @name: A bus name (well-known or unique). 1242s # * @object_path: An object path. 1242s # * @cancellable: (nullable): A #GCancellable or %NULL. 1242s # * @error: Return location for error or %NULL 1242s # * 1242s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1242s # * 1242s # * The calling thread is blocked until a reply is received. 1242s # * 1242s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1242s # * 1242s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1242s # */ 1242s # GoodTypes * 1242s # good_types_proxy_new_for_bus_sync ( 1242s # GBusType bus_type, 1242s # GDBusProxyFlags flags, 1242s # const gchar *name, 1242s # const gchar *object_path, 1242s # GCancellable *cancellable, 1242s # GError **error) 1242s # { 1242s # GInitable *ret; 1242s # 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); 1242s # if (ret != NULL) 1242s # return GOOD_TYPES (ret); 1242s # else 1242s # return NULL; 1242s # } 1242s # 1242s # 1242s # /* ------------------------------------------------------------------------ */ 1242s # 1242s # /** 1242s # * GoodTypesSkeleton: 1242s # * 1242s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1242s # */ 1242s # 1242s # /** 1242s # * GoodTypesSkeletonClass: 1242s # * @parent_class: The parent class. 1242s # * 1242s # * Class structure for GoodTypesSkeleton. 1242s # */ 1242s # 1242s # struct _GoodTypesSkeletonPrivate 1242s # { 1242s # GValue *properties; 1242s # GList *changed_properties; 1242s # GSource *changed_properties_idle_source; 1242s # GMainContext *context; 1242s # GMutex lock; 1242s # }; 1242s # 1242s # static void 1242s # _good_types_skeleton_handle_method_call ( 1242s # GDBusConnection *connection G_GNUC_UNUSED, 1242s # const gchar *sender G_GNUC_UNUSED, 1242s # const gchar *object_path G_GNUC_UNUSED, 1242s # const gchar *interface_name, 1242s # const gchar *method_name, 1242s # GVariant *parameters, 1242s # GDBusMethodInvocation *invocation, 1242s # gpointer user_data) 1242s # { 1242s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1242s # _ExtendedGDBusMethodInfo *info; 1242s # GVariantIter iter; 1242s # GVariant *child; 1242s # GValue *paramv; 1242s # gsize num_params; 1242s # guint num_extra; 1242s # gsize n; 1242s # guint signal_id; 1242s # GValue return_value = G_VALUE_INIT; 1242s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1242s # g_assert (info != NULL); 1242s # num_params = g_variant_n_children (parameters); 1242s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1242s # n = 0; 1242s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1242s # g_value_set_object (¶mv[n++], skeleton); 1242s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1242s # g_value_set_object (¶mv[n++], invocation); 1242s # if (info->pass_fdlist) 1242s # { 1242s # #ifdef G_OS_UNIX 1242s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1242s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1242s # #else 1242s # g_assert_not_reached (); 1242s # #endif 1242s # } 1242s # g_variant_iter_init (&iter, parameters); 1242s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1242s # { 1242s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1242s # if (arg_info->use_gvariant) 1242s # { 1242s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1242s # g_value_set_variant (¶mv[n], child); 1242s # n++; 1242s # } 1242s # else 1242s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1242s # g_variant_unref (child); 1242s # } 1242s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1242s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1242s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1242s # if (!g_value_get_boolean (&return_value)) 1242s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1242s # g_value_unset (&return_value); 1242s # for (n = 0; n < num_params + num_extra; n++) 1242s # g_value_unset (¶mv[n]); 1242s # g_free (paramv); 1242s # } 1242s # 1242s # static GVariant * 1242s # _good_types_skeleton_handle_get_property ( 1242s # GDBusConnection *connection G_GNUC_UNUSED, 1242s # const gchar *sender G_GNUC_UNUSED, 1242s # const gchar *object_path G_GNUC_UNUSED, 1242s # const gchar *interface_name G_GNUC_UNUSED, 1242s # const gchar *property_name, 1242s # GError **error, 1242s # gpointer user_data) 1242s # { 1242s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1242s # GValue value = G_VALUE_INIT; 1242s # GParamSpec *pspec; 1242s # _ExtendedGDBusPropertyInfo *info; 1242s # GVariant *ret; 1242s # ret = NULL; 1242s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1242s # g_assert (info != NULL); 1242s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1242s # if (pspec == NULL) 1242s # { 1242s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1242s # } 1242s # else 1242s # { 1242s # g_value_init (&value, pspec->value_type); 1242s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1242s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1242s # g_value_unset (&value); 1242s # } 1242s # return ret; 1242s # } 1242s # 1242s # static gboolean 1242s # _good_types_skeleton_handle_set_property ( 1242s # GDBusConnection *connection G_GNUC_UNUSED, 1242s # const gchar *sender G_GNUC_UNUSED, 1242s # const gchar *object_path G_GNUC_UNUSED, 1242s # const gchar *interface_name G_GNUC_UNUSED, 1242s # const gchar *property_name, 1242s # GVariant *variant, 1242s # GError **error, 1242s # gpointer user_data) 1242s # { 1242s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1242s # GValue value = G_VALUE_INIT; 1242s # GParamSpec *pspec; 1242s # _ExtendedGDBusPropertyInfo *info; 1242s # gboolean ret; 1242s # ret = FALSE; 1242s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1242s # g_assert (info != NULL); 1242s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1242s # if (pspec == NULL) 1242s # { 1242s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1242s # } 1242s # else 1242s # { 1242s # if (info->use_gvariant) 1242s # g_value_set_variant (&value, variant); 1242s # else 1242s # g_dbus_gvariant_to_gvalue (variant, &value); 1242s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1242s # g_value_unset (&value); 1242s # ret = TRUE; 1242s # } 1242s # return ret; 1242s # } 1242s # 1242s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1242s # { 1242s # _good_types_skeleton_handle_method_call, 1242s # _good_types_skeleton_handle_get_property, 1242s # _good_types_skeleton_handle_set_property, 1242s # {NULL} 1242s # }; 1242s # 1242s # static GDBusInterfaceInfo * 1242s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1242s # { 1242s # return good_types_interface_info (); 1242s # } 1242s # 1242s # static GDBusInterfaceVTable * 1242s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1242s # { 1242s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1242s # } 1242s # 1242s # static GVariant * 1242s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1242s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1243s # 1243s # GVariantBuilder builder; 1243s # guint n; 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # if (_good_types_interface_info.parent_struct.properties == NULL) 1243s # goto out; 1243s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1243s # { 1243s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1243s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1243s # { 1243s # GVariant *value; 1243s # 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); 1243s # if (value != NULL) 1243s # { 1243s # g_variant_take_ref (value); 1243s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1243s # g_variant_unref (value); 1243s # } 1243s # } 1243s # } 1243s # out: 1243s # return g_variant_builder_end (&builder); 1243s # } 1243s # 1243s # static gboolean _good_types_emit_changed (gpointer user_data); 1243s # 1243s # static void 1243s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1243s # gboolean emit_changed = FALSE; 1243s # 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # { 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # skeleton->priv->changed_properties_idle_source = NULL; 1243s # emit_changed = TRUE; 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # 1243s # if (emit_changed) 1243s # _good_types_emit_changed (skeleton); 1243s # } 1243s # 1243s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_ADD_PRIVATE (GoodTypesSkeleton) 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # good_types_skeleton_finalize (GObject *object) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # guint n; 1243s # for (n = 0; n < 1; n++) 1243s # g_value_unset (&skeleton->priv->properties[n]); 1243s # g_free (skeleton->priv->properties); 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # g_main_context_unref (skeleton->priv->context); 1243s # g_mutex_clear (&skeleton->priv->lock); 1243s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_get_property (GObject *object, 1243s # guint prop_id, 1243s # GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # } 1243s # 1243s # static gboolean 1243s # _good_types_emit_changed (gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GList *l; 1243s # GVariantBuilder builder; 1243s # GVariantBuilder invalidated_builder; 1243s # guint num_changes; 1243s # 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1243s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1243s # { 1243s # ChangedProperty *cp = l->data; 1243s # GVariant *variant; 1243s # const GValue *cur_value; 1243s # 1243s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1243s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1243s # { 1243s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1243s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1243s # g_variant_unref (variant); 1243s # num_changes++; 1243s # } 1243s # } 1243s # if (num_changes > 0) 1243s # { 1243s # GList *connections, *ll; 1243s # GVariant *signal_variant; 1243s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1243s # &builder, &invalidated_builder)); 1243s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1243s # for (ll = connections; ll != NULL; ll = ll->next) 1243s # { 1243s # GDBusConnection *connection = ll->data; 1243s # 1243s # g_dbus_connection_emit_signal (connection, 1243s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1243s # "org.freedesktop.DBus.Properties", 1243s # "PropertiesChanged", 1243s # signal_variant, 1243s # NULL); 1243s # } 1243s # g_variant_unref (signal_variant); 1243s # g_list_free_full (connections, g_object_unref); 1243s # } 1243s # else 1243s # { 1243s # g_variant_builder_clear (&builder); 1243s # g_variant_builder_clear (&invalidated_builder); 1243s # } 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # skeleton->priv->changed_properties = NULL; 1243s # skeleton->priv->changed_properties_idle_source = NULL; 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # return FALSE; 1243s # } 1243s # 1243s # static void 1243s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1243s # { 1243s # ChangedProperty *cp; 1243s # GList *l; 1243s # cp = NULL; 1243s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1243s # { 1243s # ChangedProperty *i_cp = l->data; 1243s # if (i_cp->info == info) 1243s # { 1243s # cp = i_cp; 1243s # break; 1243s # } 1243s # } 1243s # if (cp == NULL) 1243s # { 1243s # cp = g_new0 (ChangedProperty, 1); 1243s # cp->prop_id = prop_id; 1243s # cp->info = info; 1243s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1243s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1243s # g_value_copy (orig_value, &cp->orig_value); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_notify (GObject *object, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # if (skeleton->priv->changed_properties != NULL && 1243s # skeleton->priv->changed_properties_idle_source == NULL) 1243s # { 1243s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1243s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1243s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1243s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1243s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1243s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_set_property (GObject *object, 1243s # guint prop_id, 1243s # const GValue *value, 1243s # GParamSpec *pspec) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_object_freeze_notify (object); 1243s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1243s # { 1243s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1243s # info->emits_changed_signal) 1243s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1243s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1243s # g_object_notify_by_pspec (object, pspec); 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # g_object_thaw_notify (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1243s # #else 1243s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1243s # #endif 1243s # 1243s # g_mutex_init (&skeleton->priv->lock); 1243s # skeleton->priv->context = g_main_context_ref_thread_default (); 1243s # skeleton->priv->properties = g_new0 (GValue, 1); 1243s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # GVariant *value; 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # return value; 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusInterfaceSkeletonClass *skeleton_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = good_types_skeleton_finalize; 1243s # gobject_class->get_property = good_types_skeleton_get_property; 1243s # gobject_class->set_property = good_types_skeleton_set_property; 1243s # gobject_class->notify = good_types_skeleton_notify; 1243s # 1243s # 1243s # good_types_override_properties (gobject_class, 1); 1243s # 1243s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1243s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1243s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1243s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1243s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1243s # { 1243s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1243s # } 1243s # 1243s # /** 1243s # * good_types_skeleton_new: 1243s # * 1243s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1243s # */ 1243s # GoodTypes * 1243s # good_types_skeleton_new (void) 1243s # { 1243s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1243s # } 1243s # /tmp/tmpywsrsqkq/tmpy7uy8f8b.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpy7uy8f8b.xml', '--output', '-', '--body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # #ifdef G_OS_UNIX 1243s # # include 1243s # #endif 1243s # 1243s # #ifdef G_ENABLE_DEBUG 1243s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1243s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1243s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1243s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1243s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1243s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1243s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1243s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1243s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1243s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1243s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1243s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1243s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1243s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1243s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1243s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1243s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1243s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1243s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1243s # #else /* !G_ENABLE_DEBUG */ 1243s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1243s # * Do not access GValues directly in your code. Instead, use the 1243s # * g_value_get_*() functions 1243s # */ 1243s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1243s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1243s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1243s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1243s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1243s # #endif /* !G_ENABLE_DEBUG */ 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusArgInfo parent_struct; 1243s # gboolean use_gvariant; 1243s # } _ExtendedGDBusArgInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusMethodInfo parent_struct; 1243s # const gchar *signal_name; 1243s # gboolean pass_fdlist; 1243s # } _ExtendedGDBusMethodInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusSignalInfo parent_struct; 1243s # const gchar *signal_name; 1243s # } _ExtendedGDBusSignalInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusPropertyInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # guint use_gvariant : 1; 1243s # guint emits_changed_signal : 1; 1243s # } _ExtendedGDBusPropertyInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusInterfaceInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # } _ExtendedGDBusInterfaceInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # guint prop_id; 1243s # GValue orig_value; /* the value before the change */ 1243s # } ChangedProperty; 1243s # 1243s # static void 1243s # _changed_property_free (ChangedProperty *data) 1243s # { 1243s # g_value_unset (&data->orig_value); 1243s # g_free (data); 1243s # } 1243s # 1243s # static gboolean 1243s # _g_strv_equal0 (gchar **a, gchar **b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # guint n; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # if (g_strv_length (a) != g_strv_length (b)) 1243s # goto out; 1243s # for (n = 0; a[n] != NULL; n++) 1243s # if (g_strcmp0 (a[n], b[n]) != 0) 1243s # goto out; 1243s # ret = TRUE; 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _g_variant_equal0 (GVariant *a, GVariant *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # ret = g_variant_equal (a, b); 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # G_GNUC_UNUSED static gboolean 1243s # _g_value_equal (const GValue *a, const GValue *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1243s # switch (G_VALUE_TYPE (a)) 1243s # { 1243s # case G_TYPE_BOOLEAN: 1243s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1243s # break; 1243s # case G_TYPE_UCHAR: 1243s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1243s # break; 1243s # case G_TYPE_INT: 1243s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1243s # break; 1243s # case G_TYPE_UINT: 1243s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1243s # break; 1243s # case G_TYPE_INT64: 1243s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1243s # break; 1243s # case G_TYPE_UINT64: 1243s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1243s # break; 1243s # case G_TYPE_DOUBLE: 1243s # { 1243s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1243s # gdouble da = g_value_get_double (a); 1243s # gdouble db = g_value_get_double (b); 1243s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1243s # } 1243s # break; 1243s # case G_TYPE_STRING: 1243s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1243s # break; 1243s # case G_TYPE_VARIANT: 1243s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1243s # break; 1243s # default: 1243s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1243s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1243s # else 1243s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1243s # break; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ 1243s # * Code for interface GoodTypes 1243s # * ------------------------------------------------------------------------ 1243s # */ 1243s # 1243s # /** 1243s # * SECTION:GoodTypes 1243s # * @title: GoodTypes 1243s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1243s # * 1243s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1243s # */ 1243s # 1243s # /* ---- Introspection data for GoodTypes ---- */ 1243s # 1243s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "GoodPropertyType", 1243s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1243s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1243s # NULL 1243s # }, 1243s # "good-property-type", 1243s # FALSE, 1243s # TRUE 1243s # }; 1243s # 1243s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1243s # { 1243s # &_good_types_property_info_good_property_type.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "GoodTypes", 1243s # NULL, 1243s # NULL, 1243s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1243s # NULL 1243s # }, 1243s # "good-types", 1243s # }; 1243s # 1243s # 1243s # /** 1243s # * good_types_interface_info: 1243s # * 1243s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1243s # * 1243s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1243s # */ 1243s # GDBusInterfaceInfo * 1243s # good_types_interface_info (void) 1243s # { 1243s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1243s # } 1243s # 1243s # /** 1243s # * good_types_override_properties: 1243s # * @klass: The class structure for a #GObject derived class. 1243s # * @property_id_begin: The property id to assign to the first overridden property. 1243s # * 1243s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1243s # * The properties are overridden in the order they are defined. 1243s # * 1243s # * Returns: The last property id. 1243s # */ 1243s # guint 1243s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1243s # { 1243s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1243s # return property_id_begin - 1; 1243s # } 1243s # 1243s # 1243s # 1243s # /** 1243s # * GoodTypes: 1243s # * 1243s # * Abstract interface type for the D-Bus interface GoodTypes. 1243s # */ 1243s # 1243s # /** 1243s # * GoodTypesIface: 1243s # * @parent_iface: The parent interface. 1243s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1243s # * 1243s # * Virtual table for the D-Bus interface GoodTypes. 1243s # */ 1243s # 1243s # typedef GoodTypesIface GoodTypesInterface; 1243s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1243s # 1243s # static void 1243s # good_types_default_init (GoodTypesIface *iface) 1243s # { 1243s # /* GObject properties for D-Bus properties: */ 1243s # /** 1243s # * GoodTypes:good-property-type: 1243s # * 1243s # * Represents the D-Bus property "GoodPropertyType". 1243s # * 1243s # * 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. 1243s # */ 1243s # g_object_interface_install_property (iface, 1243s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1243s # } 1243s # 1243s # /** 1243s # * good_types_get_good_property_type: (skip) 1243s # * @object: A GoodTypes. 1243s # * 1243s # * Gets the value of the "GoodPropertyType" D-Bus property. 1243s # * 1243s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1243s # * 1243s # * 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. 1243s # * 1243s # * 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. 1243s # */ 1243s # GVariant * 1243s # good_types_get_good_property_type (GoodTypes *object) 1243s # { 1243s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1243s # 1243s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1243s # } 1243s # 1243s # /** 1243s # * good_types_dup_good_property_type: (skip) 1243s # * @object: A GoodTypes. 1243s # * 1243s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1243s # * 1243s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1243s # * 1243s # * 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(). 1243s # */ 1243s # GVariant * 1243s # good_types_dup_good_property_type (GoodTypes *object) 1243s # { 1243s # GVariant *value; 1243s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1243s # return value; 1243s # } 1243s # 1243s # /** 1243s # * good_types_set_good_property_type: (skip) 1243s # * @object: A GoodTypes. 1243s # * @value: The value to set. 1243s # * 1243s # * Sets the "GoodPropertyType" D-Bus property to @value. 1243s # * 1243s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1243s # */ 1243s # void 1243s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1243s # { 1243s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * GoodTypesProxy: 1243s # * 1243s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * GoodTypesProxyClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for GoodTypesProxy. 1243s # */ 1243s # 1243s # struct _GoodTypesProxyPrivate 1243s # { 1243s # GData *qdata; 1243s # }; 1243s # 1243s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1243s # G_ADD_PRIVATE (GoodTypesProxy) 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # good_types_proxy_finalize (GObject *object) 1243s # { 1243s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1243s # g_datalist_clear (&proxy->priv->qdata); 1243s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_get_property (GObject *object, 1243s # guint prop_id, 1243s # GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *variant; 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1243s # if (info->use_gvariant) 1243s # { 1243s # g_value_set_variant (value, variant); 1243s # } 1243s # else 1243s # { 1243s # if (variant != NULL) 1243s # g_dbus_gvariant_to_gvalue (variant, value); 1243s # } 1243s # if (variant != NULL) 1243s # g_variant_unref (variant); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1243s # GAsyncResult *res, 1243s # gpointer user_data) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info = user_data; 1243s # GError *error; 1243s # GVariant *_ret; 1243s # error = NULL; 1243s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1243s # if (!_ret) 1243s # { 1243s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1243s # info->parent_struct.name, 1243s # error->message, g_quark_to_string (error->domain), error->code); 1243s # g_error_free (error); 1243s # } 1243s # else 1243s # { 1243s # g_variant_unref (_ret); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_set_property (GObject *object, 1243s # guint prop_id, 1243s # const GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *variant; 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1243s # "org.freedesktop.DBus.Properties.Set", 1243s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1243s # g_variant_unref (variant); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_g_signal (GDBusProxy *proxy, 1243s # const gchar *sender_name G_GNUC_UNUSED, 1243s # const gchar *signal_name, 1243s # GVariant *parameters) 1243s # { 1243s # _ExtendedGDBusSignalInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # gsize n; 1243s # guint signal_id; 1243s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1243s # if (info == NULL) 1243s # return; 1243s # num_params = g_variant_n_children (parameters); 1243s # paramv = g_new0 (GValue, num_params + 1); 1243s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1243s # g_value_set_object (¶mv[0], proxy); 1243s # g_variant_iter_init (&iter, parameters); 1243s # n = 1; 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1243s # g_signal_emitv (paramv, signal_id, 0, NULL); 1243s # for (n = 0; n < num_params + 1; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1243s # GVariant *changed_properties, 1243s # const gchar *const *invalidated_properties) 1243s # { 1243s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1243s # guint n; 1243s # const gchar *key; 1243s # GVariantIter *iter; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # g_variant_get (changed_properties, "a{sv}", &iter); 1243s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1243s # g_datalist_remove_data (&proxy->priv->qdata, key); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # g_variant_iter_free (iter); 1243s # for (n = 0; invalidated_properties[n] != NULL; n++) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1243s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_proxy_get_good_property_type (GoodTypes *object) 1243s # { 1243s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1243s # GVariant *variant; 1243s # GVariant *value = NULL; 1243s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1243s # value = variant; 1243s # if (variant != NULL) 1243s # g_variant_unref (variant); 1243s # return value; 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_init (GoodTypesProxy *proxy) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1243s # #else 1243s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1243s # #endif 1243s # 1243s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusProxyClass *proxy_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = good_types_proxy_finalize; 1243s # gobject_class->get_property = good_types_proxy_get_property; 1243s # gobject_class->set_property = good_types_proxy_set_property; 1243s # 1243s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1243s # proxy_class->g_signal = good_types_proxy_g_signal; 1243s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1243s # 1243s # good_types_override_properties (gobject_class, 1); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_iface_init (GoodTypesIface *iface) 1243s # { 1243s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1243s # * 1243s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # good_types_proxy_new ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with good_types_proxy_new(). 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_sync: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_sync ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /** 1243s # * good_types_proxy_new_for_bus: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1243s # * 1243s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # good_types_proxy_new_for_bus ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_for_bus_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_for_bus_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_for_bus_sync: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_for_bus_sync ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * GoodTypesSkeleton: 1243s # * 1243s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * GoodTypesSkeletonClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for GoodTypesSkeleton. 1243s # */ 1243s # 1243s # struct _GoodTypesSkeletonPrivate 1243s # { 1243s # GValue *properties; 1243s # GList *changed_properties; 1243s # GSource *changed_properties_idle_source; 1243s # GMainContext *context; 1243s # GMutex lock; 1243s # }; 1243s # 1243s # static void 1243s # _good_types_skeleton_handle_method_call ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name, 1243s # const gchar *method_name, 1243s # GVariant *parameters, 1243s # GDBusMethodInvocation *invocation, 1243s # gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # _ExtendedGDBusMethodInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # guint num_extra; 1243s # gsize n; 1243s # guint signal_id; 1243s # GValue return_value = G_VALUE_INIT; 1243s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1243s # g_assert (info != NULL); 1243s # num_params = g_variant_n_children (parameters); 1243s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1243s # n = 0; 1243s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1243s # g_value_set_object (¶mv[n++], skeleton); 1243s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1243s # g_value_set_object (¶mv[n++], invocation); 1243s # if (info->pass_fdlist) 1243s # { 1243s # #ifdef G_OS_UNIX 1243s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1243s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1243s # #else 1243s # g_assert_not_reached (); 1243s # #endif 1243s # } 1243s # g_variant_iter_init (&iter, parameters); 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1243s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1243s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1243s # if (!g_value_get_boolean (&return_value)) 1243s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1243s # g_value_unset (&return_value); 1243s # for (n = 0; n < num_params + num_extra; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static GVariant * 1243s # _good_types_skeleton_handle_get_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *ret; 1243s # ret = NULL; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # g_value_init (&value, pspec->value_type); 1243s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_value_unset (&value); 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _good_types_skeleton_handle_set_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GVariant *variant, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # gboolean ret; 1243s # ret = FALSE; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # if (info->use_gvariant) 1243s # g_value_set_variant (&value, variant); 1243s # else 1243s # g_dbus_gvariant_to_gvalue (variant, &value); 1243s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # g_value_unset (&value); 1243s # ret = TRUE; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1243s # { 1243s # _good_types_skeleton_handle_method_call, 1243s # _good_types_skeleton_handle_get_property, 1243s # _good_types_skeleton_handle_set_property, 1243s # {NULL} 1243s # }; 1243s # 1243s # static GDBusInterfaceInfo * 1243s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return good_types_interface_info (); 1243s # } 1243s # 1243s # static GDBusInterfaceVTable * 1243s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1243s # 1243s # GVariantBuilder builder; 1243s # guint n; 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # if (_good_types_interface_info.parent_struct.properties == NULL) 1243s # goto out; 1243s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1243s # { 1243s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1243s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1243s # { 1243s # GVariant *value; 1243s # 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); 1243s # if (value != NULL) 1243s # { 1243s # g_variant_take_ref (value); 1243s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1243s # g_variant_unref (value); 1243s # } 1243s # } 1243s # } 1243s # out: 1243s # return g_variant_builder_end (&builder); 1243s # } 1243s # 1243s # static gboolean _good_types_emit_changed (gpointer user_data); 1243s # 1243s # static void 1243s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1243s # gboolean emit_changed = FALSE; 1243s # 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # { 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # skeleton->priv->changed_properties_idle_source = NULL; 1243s # emit_changed = TRUE; 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # 1243s # if (emit_changed) 1243s # _good_types_emit_changed (skeleton); 1243s # } 1243s # 1243s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_ADD_PRIVATE (GoodTypesSkeleton) 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # good_types_skeleton_finalize (GObject *object) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # guint n; 1243s # for (n = 0; n < 1; n++) 1243s # g_value_unset (&skeleton->priv->properties[n]); 1243s # g_free (skeleton->priv->properties); 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # g_main_context_unref (skeleton->priv->context); 1243s # g_mutex_clear (&skeleton->priv->lock); 1243s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_get_property (GObject *object, 1243s # guint prop_id, 1243s # GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # } 1243s # 1243s # static gboolean 1243s # _good_types_emit_changed (gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GList *l; 1243s # GVariantBuilder builder; 1243s # GVariantBuilder invalidated_builder; 1243s # guint num_changes; 1243s # 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1243s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1243s # { 1243s # ChangedProperty *cp = l->data; 1243s # GVariant *variant; 1243s # const GValue *cur_value; 1243s # 1243s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1243s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1243s # { 1243s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1243s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1243s # g_variant_unref (variant); 1243s # num_changes++; 1243s # } 1243s # } 1243s # if (num_changes > 0) 1243s # { 1243s # GList *connections, *ll; 1243s # GVariant *signal_variant; 1243s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1243s # &builder, &invalidated_builder)); 1243s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1243s # for (ll = connections; ll != NULL; ll = ll->next) 1243s # { 1243s # GDBusConnection *connection = ll->data; 1243s # 1243s # g_dbus_connection_emit_signal (connection, 1243s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1243s # "org.freedesktop.DBus.Properties", 1243s # "PropertiesChanged", 1243s # signal_variant, 1243s # NULL); 1243s # } 1243s # g_variant_unref (signal_variant); 1243s # g_list_free_full (connections, g_object_unref); 1243s # } 1243s # else 1243s # { 1243s # g_variant_builder_clear (&builder); 1243s # g_variant_builder_clear (&invalidated_builder); 1243s # } 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # skeleton->priv->changed_properties = NULL; 1243s # skeleton->priv->changed_properties_idle_source = NULL; 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # return FALSE; 1243s # } 1243s # 1243s # static void 1243s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1243s # { 1243s # ChangedProperty *cp; 1243s # GList *l; 1243s # cp = NULL; 1243s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1243s # { 1243s # ChangedProperty *i_cp = l->data; 1243s # if (i_cp->info == info) 1243s # { 1243s # cp = i_cp; 1243s # break; 1243s # } 1243s # } 1243s # if (cp == NULL) 1243s # { 1243s # cp = g_new0 (ChangedProperty, 1); 1243s # cp->prop_id = prop_id; 1243s # cp->info = info; 1243s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1243s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1243s # g_value_copy (orig_value, &cp->orig_value); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_notify (GObject *object, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # if (skeleton->priv->changed_properties != NULL && 1243s # skeleton->priv->changed_properties_idle_source == NULL) 1243s # { 1243s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1243s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1243s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1243s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1243s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1243s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_set_property (GObject *object, 1243s # guint prop_id, 1243s # const GValue *value, 1243s # GParamSpec *pspec) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_object_freeze_notify (object); 1243s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1243s # { 1243s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1243s # info->emits_changed_signal) 1243s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1243s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1243s # g_object_notify_by_pspec (object, pspec); 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # g_object_thaw_notify (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1243s # #else 1243s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1243s # #endif 1243s # 1243s # g_mutex_init (&skeleton->priv->lock); 1243s # skeleton->priv->context = g_main_context_ref_thread_default (); 1243s # skeleton->priv->properties = g_new0 (GValue, 1); 1243s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # GVariant *value; 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # return value; 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusInterfaceSkeletonClass *skeleton_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = good_types_skeleton_finalize; 1243s # gobject_class->get_property = good_types_skeleton_get_property; 1243s # gobject_class->set_property = good_types_skeleton_set_property; 1243s # gobject_class->notify = good_types_skeleton_notify; 1243s # 1243s # 1243s # good_types_override_properties (gobject_class, 1); 1243s # 1243s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1243s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1243s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1243s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1243s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1243s # { 1243s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1243s # } 1243s # 1243s # /** 1243s # * good_types_skeleton_new: 1243s # * 1243s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1243s # */ 1243s # GoodTypes * 1243s # good_types_skeleton_new (void) 1243s # { 1243s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1243s # } 1243s # /tmp/tmpywsrsqkq/tmpfwf22gee.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpywsrsqkq/tmpfwf22gee.xml', '--output', '-', '--body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # #ifdef G_OS_UNIX 1243s # # include 1243s # #endif 1243s # 1243s # #ifdef G_ENABLE_DEBUG 1243s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1243s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1243s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1243s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1243s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1243s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1243s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1243s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1243s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1243s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1243s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1243s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1243s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1243s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1243s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1243s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1243s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1243s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1243s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1243s # #else /* !G_ENABLE_DEBUG */ 1243s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1243s # * Do not access GValues directly in your code. Instead, use the 1243s # * g_value_get_*() functions 1243s # */ 1243s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1243s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1243s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1243s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1243s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1243s # #endif /* !G_ENABLE_DEBUG */ 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusArgInfo parent_struct; 1243s # gboolean use_gvariant; 1243s # } _ExtendedGDBusArgInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusMethodInfo parent_struct; 1243s # const gchar *signal_name; 1243s # gboolean pass_fdlist; 1243s # } _ExtendedGDBusMethodInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusSignalInfo parent_struct; 1243s # const gchar *signal_name; 1243s # } _ExtendedGDBusSignalInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusPropertyInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # guint use_gvariant : 1; 1243s # guint emits_changed_signal : 1; 1243s # } _ExtendedGDBusPropertyInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusInterfaceInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # } _ExtendedGDBusInterfaceInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # guint prop_id; 1243s # GValue orig_value; /* the value before the change */ 1243s # } ChangedProperty; 1243s # 1243s # static void 1243s # _changed_property_free (ChangedProperty *data) 1243s # { 1243s # g_value_unset (&data->orig_value); 1243s # g_free (data); 1243s # } 1243s # 1243s # static gboolean 1243s # _g_strv_equal0 (gchar **a, gchar **b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # guint n; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # if (g_strv_length (a) != g_strv_length (b)) 1243s # goto out; 1243s # for (n = 0; a[n] != NULL; n++) 1243s # if (g_strcmp0 (a[n], b[n]) != 0) 1243s # goto out; 1243s # ret = TRUE; 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _g_variant_equal0 (GVariant *a, GVariant *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # ret = g_variant_equal (a, b); 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # G_GNUC_UNUSED static gboolean 1243s # _g_value_equal (const GValue *a, const GValue *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1243s # switch (G_VALUE_TYPE (a)) 1243s # { 1243s # case G_TYPE_BOOLEAN: 1243s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1243s # break; 1243s # case G_TYPE_UCHAR: 1243s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1243s # break; 1243s # case G_TYPE_INT: 1243s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1243s # break; 1243s # case G_TYPE_UINT: 1243s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1243s # break; 1243s # case G_TYPE_INT64: 1243s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1243s # break; 1243s # case G_TYPE_UINT64: 1243s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1243s # break; 1243s # case G_TYPE_DOUBLE: 1243s # { 1243s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1243s # gdouble da = g_value_get_double (a); 1243s # gdouble db = g_value_get_double (b); 1243s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1243s # } 1243s # break; 1243s # case G_TYPE_STRING: 1243s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1243s # break; 1243s # case G_TYPE_VARIANT: 1243s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1243s # break; 1243s # default: 1243s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1243s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1243s # else 1243s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1243s # break; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ 1243s # * Code for interface GoodTypes 1243s # * ------------------------------------------------------------------------ 1243s # */ 1243s # 1243s # /** 1243s # * SECTION:GoodTypes 1243s # * @title: GoodTypes 1243s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1243s # * 1243s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1243s # */ 1243s # 1243s # /* ---- Introspection data for GoodTypes ---- */ 1243s # 1243s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "GoodPropertyType", 1243s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1243s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1243s # NULL 1243s # }, 1243s # "good-property-type", 1243s # FALSE, 1243s # TRUE 1243s # }; 1243s # 1243s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1243s # { 1243s # &_good_types_property_info_good_property_type.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "GoodTypes", 1243s # NULL, 1243s # NULL, 1243s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1243s # NULL 1243s # }, 1243s # "good-types", 1243s # }; 1243s # 1243s # 1243s # /** 1243s # * good_types_interface_info: 1243s # * 1243s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1243s # * 1243s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1243s # */ 1243s # GDBusInterfaceInfo * 1243s # good_types_interface_info (void) 1243s # { 1243s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1243s # } 1243s # 1243s # /** 1243s # * good_types_override_properties: 1243s # * @klass: The class structure for a #GObject derived class. 1243s # * @property_id_begin: The property id to assign to the first overridden property. 1243s # * 1243s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1243s # * The properties are overridden in the order they are defined. 1243s # * 1243s # * Returns: The last property id. 1243s # */ 1243s # guint 1243s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1243s # { 1243s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1243s # return property_id_begin - 1; 1243s # } 1243s # 1243s # 1243s # 1243s # /** 1243s # * GoodTypes: 1243s # * 1243s # * Abstract interface type for the D-Bus interface GoodTypes. 1243s # */ 1243s # 1243s # /** 1243s # * GoodTypesIface: 1243s # * @parent_iface: The parent interface. 1243s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1243s # * 1243s # * Virtual table for the D-Bus interface GoodTypes. 1243s # */ 1243s # 1243s # typedef GoodTypesIface GoodTypesInterface; 1243s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1243s # 1243s # static void 1243s # good_types_default_init (GoodTypesIface *iface) 1243s # { 1243s # /* GObject properties for D-Bus properties: */ 1243s # /** 1243s # * GoodTypes:good-property-type: 1243s # * 1243s # * Represents the D-Bus property "GoodPropertyType". 1243s # * 1243s # * 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. 1243s # */ 1243s # g_object_interface_install_property (iface, 1243s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1243s # } 1243s # 1243s # /** 1243s # * good_types_get_good_property_type: (skip) 1243s # * @object: A GoodTypes. 1243s # * 1243s # * Gets the value of the "GoodPropertyType" D-Bus property. 1243s # * 1243s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1243s # * 1243s # * 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. 1243s # * 1243s # * 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. 1243s # */ 1243s # GVariant * 1243s # good_types_get_good_property_type (GoodTypes *object) 1243s # { 1243s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1243s # 1243s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1243s # } 1243s # 1243s # /** 1243s # * good_types_dup_good_property_type: (skip) 1243s # * @object: A GoodTypes. 1243s # * 1243s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1243s # * 1243s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1243s # * 1243s # * 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(). 1243s # */ 1243s # GVariant * 1243s # good_types_dup_good_property_type (GoodTypes *object) 1243s # { 1243s # GVariant *value; 1243s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1243s # return value; 1243s # } 1243s # 1243s # /** 1243s # * good_types_set_good_property_type: (skip) 1243s # * @object: A GoodTypes. 1243s # * @value: The value to set. 1243s # * 1243s # * Sets the "GoodPropertyType" D-Bus property to @value. 1243s # * 1243s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1243s # */ 1243s # void 1243s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1243s # { 1243s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * GoodTypesProxy: 1243s # * 1243s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * GoodTypesProxyClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for GoodTypesProxy. 1243s # */ 1243s # 1243s # struct _GoodTypesProxyPrivate 1243s # { 1243s # GData *qdata; 1243s # }; 1243s # 1243s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1243s # G_ADD_PRIVATE (GoodTypesProxy) 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # good_types_proxy_finalize (GObject *object) 1243s # { 1243s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1243s # g_datalist_clear (&proxy->priv->qdata); 1243s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_get_property (GObject *object, 1243s # guint prop_id, 1243s # GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *variant; 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1243s # if (info->use_gvariant) 1243s # { 1243s # g_value_set_variant (value, variant); 1243s # } 1243s # else 1243s # { 1243s # if (variant != NULL) 1243s # g_dbus_gvariant_to_gvalue (variant, value); 1243s # } 1243s # if (variant != NULL) 1243s # g_variant_unref (variant); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1243s # GAsyncResult *res, 1243s # gpointer user_data) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info = user_data; 1243s # GError *error; 1243s # GVariant *_ret; 1243s # error = NULL; 1243s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1243s # if (!_ret) 1243s # { 1243s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1243s # info->parent_struct.name, 1243s # error->message, g_quark_to_string (error->domain), error->code); 1243s # g_error_free (error); 1243s # } 1243s # else 1243s # { 1243s # g_variant_unref (_ret); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_set_property (GObject *object, 1243s # guint prop_id, 1243s # const GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *variant; 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1243s # "org.freedesktop.DBus.Properties.Set", 1243s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1243s # g_variant_unref (variant); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_g_signal (GDBusProxy *proxy, 1243s # const gchar *sender_name G_GNUC_UNUSED, 1243s # const gchar *signal_name, 1243s # GVariant *parameters) 1243s # { 1243s # _ExtendedGDBusSignalInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # gsize n; 1243s # guint signal_id; 1243s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1243s # if (info == NULL) 1243s # return; 1243s # num_params = g_variant_n_children (parameters); 1243s # paramv = g_new0 (GValue, num_params + 1); 1243s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1243s # g_value_set_object (¶mv[0], proxy); 1243s # g_variant_iter_init (&iter, parameters); 1243s # n = 1; 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1243s # g_signal_emitv (paramv, signal_id, 0, NULL); 1243s # for (n = 0; n < num_params + 1; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1243s # GVariant *changed_properties, 1243s # const gchar *const *invalidated_properties) 1243s # { 1243s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1243s # guint n; 1243s # const gchar *key; 1243s # GVariantIter *iter; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # g_variant_get (changed_properties, "a{sv}", &iter); 1243s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1243s # g_datalist_remove_data (&proxy->priv->qdata, key); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # g_variant_iter_free (iter); 1243s # for (n = 0; invalidated_properties[n] != NULL; n++) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1243s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_proxy_get_good_property_type (GoodTypes *object) 1243s # { 1243s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1243s # GVariant *variant; 1243s # GVariant *value = NULL; 1243s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1243s # value = variant; 1243s # if (variant != NULL) 1243s # g_variant_unref (variant); 1243s # return value; 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_init (GoodTypesProxy *proxy) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1243s # #else 1243s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1243s # #endif 1243s # 1243s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusProxyClass *proxy_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = good_types_proxy_finalize; 1243s # gobject_class->get_property = good_types_proxy_get_property; 1243s # gobject_class->set_property = good_types_proxy_set_property; 1243s # 1243s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1243s # proxy_class->g_signal = good_types_proxy_g_signal; 1243s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1243s # 1243s # good_types_override_properties (gobject_class, 1); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # good_types_proxy_iface_init (GoodTypesIface *iface) 1243s # { 1243s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1243s # * 1243s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # good_types_proxy_new ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with good_types_proxy_new(). 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_sync: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_sync ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /** 1243s # * good_types_proxy_new_for_bus: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1243s # * 1243s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # good_types_proxy_new_for_bus ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_for_bus_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_for_bus_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * good_types_proxy_new_for_bus_sync: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # GoodTypes * 1243s # good_types_proxy_new_for_bus_sync ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return GOOD_TYPES (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * GoodTypesSkeleton: 1243s # * 1243s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * GoodTypesSkeletonClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for GoodTypesSkeleton. 1243s # */ 1243s # 1243s # struct _GoodTypesSkeletonPrivate 1243s # { 1243s # GValue *properties; 1243s # GList *changed_properties; 1243s # GSource *changed_properties_idle_source; 1243s # GMainContext *context; 1243s # GMutex lock; 1243s # }; 1243s # 1243s # static void 1243s # _good_types_skeleton_handle_method_call ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name, 1243s # const gchar *method_name, 1243s # GVariant *parameters, 1243s # GDBusMethodInvocation *invocation, 1243s # gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # _ExtendedGDBusMethodInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # guint num_extra; 1243s # gsize n; 1243s # guint signal_id; 1243s # GValue return_value = G_VALUE_INIT; 1243s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1243s # g_assert (info != NULL); 1243s # num_params = g_variant_n_children (parameters); 1243s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1243s # n = 0; 1243s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1243s # g_value_set_object (¶mv[n++], skeleton); 1243s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1243s # g_value_set_object (¶mv[n++], invocation); 1243s # if (info->pass_fdlist) 1243s # { 1243s # #ifdef G_OS_UNIX 1243s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1243s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1243s # #else 1243s # g_assert_not_reached (); 1243s # #endif 1243s # } 1243s # g_variant_iter_init (&iter, parameters); 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1243s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1243s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1243s # if (!g_value_get_boolean (&return_value)) 1243s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1243s # g_value_unset (&return_value); 1243s # for (n = 0; n < num_params + num_extra; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static GVariant * 1243s # _good_types_skeleton_handle_get_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *ret; 1243s # ret = NULL; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # g_value_init (&value, pspec->value_type); 1243s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_value_unset (&value); 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _good_types_skeleton_handle_set_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GVariant *variant, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # gboolean ret; 1243s # ret = FALSE; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # if (info->use_gvariant) 1243s # g_value_set_variant (&value, variant); 1243s # else 1243s # g_dbus_gvariant_to_gvalue (variant, &value); 1243s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # g_value_unset (&value); 1243s # ret = TRUE; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1243s # { 1243s # _good_types_skeleton_handle_method_call, 1243s # _good_types_skeleton_handle_get_property, 1243s # _good_types_skeleton_handle_set_property, 1243s # {NULL} 1243s # }; 1243s # 1243s # static GDBusInterfaceInfo * 1243s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return good_types_interface_info (); 1243s # } 1243s # 1243s # static GDBusInterfaceVTable * 1243s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1243s # 1243s # GVariantBuilder builder; 1243s # guint n; 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # if (_good_types_interface_info.parent_struct.properties == NULL) 1243s # goto out; 1243s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1243s # { 1243s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1243s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1243s # { 1243s # GVariant *value; 1243s # 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); 1243s # if (value != NULL) 1243s # { 1243s # g_variant_take_ref (value); 1243s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1243s # g_variant_unref (value); 1243s # } 1243s # } 1243s # } 1243s # out: 1243s # return g_variant_builder_end (&builder); 1243s # } 1243s # 1243s # static gboolean _good_types_emit_changed (gpointer user_data); 1243s # 1243s # static void 1243s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1243s # gboolean emit_changed = FALSE; 1243s # 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # { 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # skeleton->priv->changed_properties_idle_source = NULL; 1243s # emit_changed = TRUE; 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # 1243s # if (emit_changed) 1243s # _good_types_emit_changed (skeleton); 1243s # } 1243s # 1243s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_ADD_PRIVATE (GoodTypesSkeleton) 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # good_types_skeleton_finalize (GObject *object) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # guint n; 1243s # for (n = 0; n < 1; n++) 1243s # g_value_unset (&skeleton->priv->properties[n]); 1243s # g_free (skeleton->priv->properties); 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # g_main_context_unref (skeleton->priv->context); 1243s # g_mutex_clear (&skeleton->priv->lock); 1243s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_get_property (GObject *object, 1243s # guint prop_id, 1243s # GValue *value, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # } 1243s # 1243s # static gboolean 1243s # _good_types_emit_changed (gpointer user_data) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1243s # GList *l; 1243s # GVariantBuilder builder; 1243s # GVariantBuilder invalidated_builder; 1243s # guint num_changes; 1243s # 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1243s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1243s # { 1243s # ChangedProperty *cp = l->data; 1243s # GVariant *variant; 1243s # const GValue *cur_value; 1243s # 1243s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1243s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1243s # { 1243s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1243s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1243s # g_variant_unref (variant); 1243s # num_changes++; 1243s # } 1243s # } 1243s # if (num_changes > 0) 1243s # { 1243s # GList *connections, *ll; 1243s # GVariant *signal_variant; 1243s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1243s # &builder, &invalidated_builder)); 1243s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1243s # for (ll = connections; ll != NULL; ll = ll->next) 1243s # { 1243s # GDBusConnection *connection = ll->data; 1243s # 1243s # g_dbus_connection_emit_signal (connection, 1243s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1243s # "org.freedesktop.DBus.Properties", 1243s # "PropertiesChanged", 1243s # signal_variant, 1243s # NULL); 1243s # } 1243s # g_variant_unref (signal_variant); 1243s # g_list_free_full (connections, g_object_unref); 1243s # } 1243s # else 1243s # { 1243s # g_variant_builder_clear (&builder); 1243s # g_variant_builder_clear (&invalidated_builder); 1243s # } 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # skeleton->priv->changed_properties = NULL; 1243s # skeleton->priv->changed_properties_idle_source = NULL; 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # return FALSE; 1243s # } 1243s # 1243s # static void 1243s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1243s # { 1243s # ChangedProperty *cp; 1243s # GList *l; 1243s # cp = NULL; 1243s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1243s # { 1243s # ChangedProperty *i_cp = l->data; 1243s # if (i_cp->info == info) 1243s # { 1243s # cp = i_cp; 1243s # break; 1243s # } 1243s # } 1243s # if (cp == NULL) 1243s # { 1243s # cp = g_new0 (ChangedProperty, 1); 1243s # cp->prop_id = prop_id; 1243s # cp->info = info; 1243s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1243s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1243s # g_value_copy (orig_value, &cp->orig_value); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_notify (GObject *object, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # if (skeleton->priv->changed_properties != NULL && 1243s # skeleton->priv->changed_properties_idle_source == NULL) 1243s # { 1243s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1243s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1243s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1243s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1243s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1243s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_set_property (GObject *object, 1243s # guint prop_id, 1243s # const GValue *value, 1243s # GParamSpec *pspec) 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1243s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # g_object_freeze_notify (object); 1243s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1243s # { 1243s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1243s # info->emits_changed_signal) 1243s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1243s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1243s # g_object_notify_by_pspec (object, pspec); 1243s # } 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # g_object_thaw_notify (object); 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1243s # #else 1243s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1243s # #endif 1243s # 1243s # g_mutex_init (&skeleton->priv->lock); 1243s # skeleton->priv->context = g_main_context_ref_thread_default (); 1243s # skeleton->priv->properties = g_new0 (GValue, 1); 1243s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1243s # } 1243s # 1243s # static GVariant * 1243s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1243s # { 1243s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1243s # GVariant *value; 1243s # g_mutex_lock (&skeleton->priv->lock); 1243s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1243s # g_mutex_unlock (&skeleton->priv->lock); 1243s # return value; 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusInterfaceSkeletonClass *skeleton_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = good_types_skeleton_finalize; 1243s # gobject_class->get_property = good_types_skeleton_get_property; 1243s # gobject_class->set_property = good_types_skeleton_set_property; 1243s # gobject_class->notify = good_types_skeleton_notify; 1243s # 1243s # 1243s # good_types_override_properties (gobject_class, 1); 1243s # 1243s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1243s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1243s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1243s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1243s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1243s # { 1243s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1243s # } 1243s # 1243s # /** 1243s # * good_types_skeleton_new: 1243s # * 1243s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1243s # * 1243s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1243s # */ 1243s # GoodTypes * 1243s # good_types_skeleton_new (void) 1243s # { 1243s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1243s # } 1243s ok 3 __main__.TestCodegen.test_empty_interface_body 1243s # tmpdir: /tmp/tmposu7ppqm 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmposu7ppqm/tmpyff_z_q5.xml: 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmposu7ppqm/tmpyff_z_q5.xml', '--output', '-', '--body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # #ifdef G_OS_UNIX 1243s # # include 1243s # #endif 1243s # 1243s # #ifdef G_ENABLE_DEBUG 1243s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1243s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1243s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1243s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1243s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1243s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1243s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1243s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1243s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1243s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1243s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1243s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1243s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1243s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1243s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1243s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1243s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1243s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1243s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1243s # #else /* !G_ENABLE_DEBUG */ 1243s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1243s # * Do not access GValues directly in your code. Instead, use the 1243s # * g_value_get_*() functions 1243s # */ 1243s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1243s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1243s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1243s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1243s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1243s # #endif /* !G_ENABLE_DEBUG */ 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusArgInfo parent_struct; 1243s # gboolean use_gvariant; 1243s # } _ExtendedGDBusArgInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusMethodInfo parent_struct; 1243s # const gchar *signal_name; 1243s # gboolean pass_fdlist; 1243s # } _ExtendedGDBusMethodInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusSignalInfo parent_struct; 1243s # const gchar *signal_name; 1243s # } _ExtendedGDBusSignalInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusPropertyInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # guint use_gvariant : 1; 1243s # guint emits_changed_signal : 1; 1243s # } _ExtendedGDBusPropertyInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusInterfaceInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # } _ExtendedGDBusInterfaceInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # guint prop_id; 1243s # GValue orig_value; /* the value before the change */ 1243s # } ChangedProperty; 1243s # 1243s # static void 1243s # _changed_property_free (ChangedProperty *data) 1243s # { 1243s # g_value_unset (&data->orig_value); 1243s # g_free (data); 1243s # } 1243s # 1243s # static gboolean 1243s # _g_strv_equal0 (gchar **a, gchar **b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # guint n; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # if (g_strv_length (a) != g_strv_length (b)) 1243s # goto out; 1243s # for (n = 0; a[n] != NULL; n++) 1243s # if (g_strcmp0 (a[n], b[n]) != 0) 1243s # goto out; 1243s # ret = TRUE; 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _g_variant_equal0 (GVariant *a, GVariant *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # ret = g_variant_equal (a, b); 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # G_GNUC_UNUSED static gboolean 1243s # _g_value_equal (const GValue *a, const GValue *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1243s # switch (G_VALUE_TYPE (a)) 1243s # { 1243s # case G_TYPE_BOOLEAN: 1243s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1243s # break; 1243s # case G_TYPE_UCHAR: 1243s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1243s # break; 1243s # case G_TYPE_INT: 1243s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1243s # break; 1243s # case G_TYPE_UINT: 1243s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1243s # break; 1243s # case G_TYPE_INT64: 1243s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1243s # break; 1243s # case G_TYPE_UINT64: 1243s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1243s # break; 1243s # case G_TYPE_DOUBLE: 1243s # { 1243s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1243s # gdouble da = g_value_get_double (a); 1243s # gdouble db = g_value_get_double (b); 1243s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1243s # } 1243s # break; 1243s # case G_TYPE_STRING: 1243s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1243s # break; 1243s # case G_TYPE_VARIANT: 1243s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1243s # break; 1243s # default: 1243s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1243s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1243s # else 1243s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1243s # break; 1243s # } 1243s # return ret; 1243s # } 1243s ok 4 __main__.TestCodegen.test_empty_interface_header 1243s # tmpdir: /tmp/tmpa_0gxxjt 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmpa_0gxxjt/tmp8hqa6xo7.xml: 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa_0gxxjt/tmp8hqa6xo7.xml', '--output', '-', '--header'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifndef __STDOUT__ 1243s # #define __STDOUT__ 1243s # 1243s # #include 1243s # 1243s # G_BEGIN_DECLS 1243s # 1243s # 1243s # G_END_DECLS 1243s # 1243s # #endif /* __STDOUT__ */ 1243s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1243s # tmpdir: /tmp/tmptb6pwkbu 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmptb6pwkbu/tmpkpo03y3i.xml: 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptb6pwkbu/tmpkpo03y3i.xml', '--output', '-', '--interface-info-body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # Executing: glib/codegen.py.test 1243s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1243s # tmpdir: /tmp/tmp7qa2zu3p 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmp7qa2zu3p/tmpdje4_tjy.xml: 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7qa2zu3p/tmpdje4_tjy.xml', '--output', '-', '--interface-info-header'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifndef __STDOUT__ 1243s # #define __STDOUT__ 1243s # 1243s # #include 1243s # 1243s # G_BEGIN_DECLS 1243s # 1243s # 1243s # G_END_DECLS 1243s # 1243s # #endif /* __STDOUT__ */ 1243s ok 7 __main__.TestCodegen.test_generate_docbook 1243s # tmpdir: /tmp/tmp8cfx3lid 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmp8cfx3lid/tmpm94iv_o5.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8cfx3lid/tmpm94iv_o5.xml', '--generate-docbook', 'test'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: 1243s ok 8 __main__.TestCodegen.test_generate_md 1243s # tmpdir: /tmp/tmp1get3w0u 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmp1get3w0u/tmpehqkwyki.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1get3w0u/tmpehqkwyki.xml', '--generate-md', 'test'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: 1243s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1243s # tmpdir: /tmp/tmp85zy29c0 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmp85zy29c0/tmpinkb3p7h.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp85zy29c0/tmpinkb3p7h.xml', '--output', '-', '--body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # #ifdef G_OS_UNIX 1243s # # include 1243s # #endif 1243s # 1243s # #ifdef G_ENABLE_DEBUG 1243s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1243s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1243s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1243s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1243s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1243s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1243s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1243s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1243s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1243s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1243s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1243s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1243s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1243s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1243s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1243s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1243s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1243s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1243s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1243s # #else /* !G_ENABLE_DEBUG */ 1243s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1243s # * Do not access GValues directly in your code. Instead, use the 1243s # * g_value_get_*() functions 1243s # */ 1243s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1243s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1243s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1243s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1243s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1243s # #endif /* !G_ENABLE_DEBUG */ 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusArgInfo parent_struct; 1243s # gboolean use_gvariant; 1243s # } _ExtendedGDBusArgInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusMethodInfo parent_struct; 1243s # const gchar *signal_name; 1243s # gboolean pass_fdlist; 1243s # } _ExtendedGDBusMethodInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusSignalInfo parent_struct; 1243s # const gchar *signal_name; 1243s # } _ExtendedGDBusSignalInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusPropertyInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # guint use_gvariant : 1; 1243s # guint emits_changed_signal : 1; 1243s # } _ExtendedGDBusPropertyInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusInterfaceInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # } _ExtendedGDBusInterfaceInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # guint prop_id; 1243s # GValue orig_value; /* the value before the change */ 1243s # } ChangedProperty; 1243s # 1243s # static void 1243s # _changed_property_free (ChangedProperty *data) 1243s # { 1243s # g_value_unset (&data->orig_value); 1243s # g_free (data); 1243s # } 1243s # 1243s # static gboolean 1243s # _g_strv_equal0 (gchar **a, gchar **b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # guint n; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # if (g_strv_length (a) != g_strv_length (b)) 1243s # goto out; 1243s # for (n = 0; a[n] != NULL; n++) 1243s # if (g_strcmp0 (a[n], b[n]) != 0) 1243s # goto out; 1243s # ret = TRUE; 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _g_variant_equal0 (GVariant *a, GVariant *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # ret = g_variant_equal (a, b); 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # G_GNUC_UNUSED static gboolean 1243s # _g_value_equal (const GValue *a, const GValue *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1243s # switch (G_VALUE_TYPE (a)) 1243s # { 1243s # case G_TYPE_BOOLEAN: 1243s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1243s # break; 1243s # case G_TYPE_UCHAR: 1243s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1243s # break; 1243s # case G_TYPE_INT: 1243s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1243s # break; 1243s # case G_TYPE_UINT: 1243s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1243s # break; 1243s # case G_TYPE_INT64: 1243s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1243s # break; 1243s # case G_TYPE_UINT64: 1243s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1243s # break; 1243s # case G_TYPE_DOUBLE: 1243s # { 1243s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1243s # gdouble da = g_value_get_double (a); 1243s # gdouble db = g_value_get_double (b); 1243s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1243s # } 1243s # break; 1243s # case G_TYPE_STRING: 1243s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1243s # break; 1243s # case G_TYPE_VARIANT: 1243s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1243s # break; 1243s # default: 1243s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1243s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1243s # else 1243s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1243s # break; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static void 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint G_GNUC_UNUSED, 1243s # void *marshal_data) 1243s # { 1243s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1243s # (void *data1, 1243s # GDBusMethodInvocation *arg_method_invocation, 1243s # void *data2); 1243s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1243s # GCClosure *cc = (GCClosure*) closure; 1243s # void *data1, *data2; 1243s # gboolean v_return; 1243s # 1243s # g_return_if_fail (return_value != NULL); 1243s # g_return_if_fail (n_param_values == 2); 1243s # 1243s # if (G_CCLOSURE_SWAP_DATA (closure)) 1243s # { 1243s # data1 = closure->data; 1243s # data2 = g_value_peek_pointer (param_values + 0); 1243s # } 1243s # else 1243s # { 1243s # data1 = g_value_peek_pointer (param_values + 0); 1243s # data2 = closure->data; 1243s # } 1243s # 1243s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1243s # (marshal_data ? marshal_data : cc->callback); 1243s # 1243s # v_return = 1243s # callback (data1, 1243s # g_marshal_value_peek_object (param_values + 1), 1243s # data2); 1243s # 1243s # g_value_set_boolean (return_value, v_return); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ 1243s # * Code for interface org.project.CallableIface 1243s # * ------------------------------------------------------------------------ 1243s # */ 1243s # 1243s # /** 1243s # * SECTION:OrgProjectCallableIface 1243s # * @title: OrgProjectCallableIface 1243s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1243s # * 1243s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1243s # */ 1243s # 1243s # /* ---- Introspection data for org.project.CallableIface ---- */ 1243s # 1243s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "SimpleMethod", 1243s # NULL, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "handle-simple-method", 1243s # FALSE 1243s # }; 1243s # 1243s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1243s # { 1243s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "org.project.CallableIface", 1243s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1243s # NULL, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "org-project-callable-iface", 1243s # }; 1243s # 1243s # 1243s # /** 1243s # * org_project_callable_iface_interface_info: 1243s # * 1243s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1243s # * 1243s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1243s # */ 1243s # GDBusInterfaceInfo * 1243s # org_project_callable_iface_interface_info (void) 1243s # { 1243s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_override_properties: 1243s # * @klass: The class structure for a #GObject derived class. 1243s # * @property_id_begin: The property id to assign to the first overridden property. 1243s # * 1243s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1243s # * The properties are overridden in the order they are defined. 1243s # * 1243s # * Returns: The last property id. 1243s # */ 1243s # guint 1243s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1243s # { 1243s # return property_id_begin - 1; 1243s # } 1243s # 1243s # 1243s # inline static void 1243s # org_project_callable_iface_method_marshal_simple_method ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint, 1243s # void *marshal_data) 1243s # { 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1243s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1243s # } 1243s # 1243s # 1243s # /** 1243s # * OrgProjectCallableIface: 1243s # * 1243s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectCallableIfaceIface: 1243s # * @parent_iface: The parent interface. 1243s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1243s # * 1243s # * Virtual table for the D-Bus interface org.project.CallableIface. 1243s # */ 1243s # 1243s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1243s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1243s # 1243s # static void 1243s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1243s # { 1243s # /* GObject signals for incoming D-Bus method calls: */ 1243s # /** 1243s # * OrgProjectCallableIface::handle-simple-method: 1243s # * @object: A #OrgProjectCallableIface. 1243s # * @invocation: A #GDBusMethodInvocation. 1243s # * 1243s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1243s # * 1243s # * 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. 1243s # * 1243s # * 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. 1243s # */ 1243s # g_signal_new ("handle-simple-method", 1243s # G_TYPE_FROM_INTERFACE (iface), 1243s # G_SIGNAL_RUN_LAST, 1243s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1243s # g_signal_accumulator_true_handled, 1243s # NULL, 1243s # org_project_callable_iface_method_marshal_simple_method, 1243s # G_TYPE_BOOLEAN, 1243s # 1, 1243s # G_TYPE_DBUS_METHOD_INVOCATION); 1243s # 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_call_simple_method: 1243s # * @proxy: A #OrgProjectCallableIfaceProxy. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1243s # */ 1243s # void 1243s # org_project_callable_iface_call_simple_method ( 1243s # OrgProjectCallableIface *proxy, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1243s # "SimpleMethod", 1243s # g_variant_new ("()"), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # cancellable, 1243s # callback, 1243s # user_data); 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_call_simple_method_finish: 1243s # * @proxy: A #OrgProjectCallableIfaceProxy. 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1243s # * @error: Return location for error or %NULL. 1243s # * 1243s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1243s # * 1243s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1243s # */ 1243s # gboolean 1243s # org_project_callable_iface_call_simple_method_finish ( 1243s # OrgProjectCallableIface *proxy, 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GVariant *_ret; 1243s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1243s # if (_ret == NULL) 1243s # goto _out; 1243s # g_variant_get (_ret, 1243s # "()"); 1243s # g_variant_unref (_ret); 1243s # _out: 1243s # return _ret != NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_call_simple_method_sync: 1243s # * @proxy: A #OrgProjectCallableIfaceProxy. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL. 1243s # * 1243s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1243s # * 1243s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1243s # */ 1243s # gboolean 1243s # org_project_callable_iface_call_simple_method_sync ( 1243s # OrgProjectCallableIface *proxy, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GVariant *_ret; 1243s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1243s # "SimpleMethod", 1243s # g_variant_new ("()"), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # cancellable, 1243s # error); 1243s # if (_ret == NULL) 1243s # goto _out; 1243s # g_variant_get (_ret, 1243s # "()"); 1243s # g_variant_unref (_ret); 1243s # _out: 1243s # return _ret != NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_complete_simple_method: 1243s # * @object: A #OrgProjectCallableIface. 1243s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1243s # * 1243s # * 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. 1243s # * 1243s # * This method will free @invocation, you cannot use it afterwards. 1243s # */ 1243s # void 1243s # org_project_callable_iface_complete_simple_method ( 1243s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1243s # GDBusMethodInvocation *invocation) 1243s # { 1243s # g_dbus_method_invocation_return_value (invocation, 1243s # g_variant_new ("()")); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * OrgProjectCallableIfaceProxy: 1243s # * 1243s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectCallableIfaceProxyClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for #OrgProjectCallableIfaceProxy. 1243s # */ 1243s # 1243s # struct _OrgProjectCallableIfaceProxyPrivate 1243s # { 1243s # GData *qdata; 1243s # }; 1243s # 1243s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1243s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # org_project_callable_iface_proxy_finalize (GObject *object) 1243s # { 1243s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1243s # g_datalist_clear (&proxy->priv->qdata); 1243s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1243s # guint prop_id G_GNUC_UNUSED, 1243s # GValue *value G_GNUC_UNUSED, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1243s # guint prop_id G_GNUC_UNUSED, 1243s # const GValue *value G_GNUC_UNUSED, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1243s # const gchar *sender_name G_GNUC_UNUSED, 1243s # const gchar *signal_name, 1243s # GVariant *parameters) 1243s # { 1243s # _ExtendedGDBusSignalInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # gsize n; 1243s # guint signal_id; 1243s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1243s # if (info == NULL) 1243s # return; 1243s # num_params = g_variant_n_children (parameters); 1243s # paramv = g_new0 (GValue, num_params + 1); 1243s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1243s # g_value_set_object (¶mv[0], proxy); 1243s # g_variant_iter_init (&iter, parameters); 1243s # n = 1; 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1243s # g_signal_emitv (paramv, signal_id, 0, NULL); 1243s # for (n = 0; n < num_params + 1; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1243s # GVariant *changed_properties, 1243s # const gchar *const *invalidated_properties) 1243s # { 1243s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1243s # guint n; 1243s # const gchar *key; 1243s # GVariantIter *iter; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # g_variant_get (changed_properties, "a{sv}", &iter); 1243s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1243s # g_datalist_remove_data (&proxy->priv->qdata, key); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # g_variant_iter_free (iter); 1243s # for (n = 0; invalidated_properties[n] != NULL; n++) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1243s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1243s # #else 1243s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1243s # #endif 1243s # 1243s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusProxyClass *proxy_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1243s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1243s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1243s # 1243s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1243s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1243s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_proxy_new: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # org_project_callable_iface_proxy_new ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_proxy_new_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectCallableIface * 1243s # org_project_callable_iface_proxy_new_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_proxy_new_sync: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectCallableIface * 1243s # org_project_callable_iface_proxy_new_sync ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /** 1243s # * org_project_callable_iface_proxy_new_for_bus: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # org_project_callable_iface_proxy_new_for_bus ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_proxy_new_for_bus_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectCallableIface * 1243s # org_project_callable_iface_proxy_new_for_bus_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_proxy_new_for_bus_sync: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectCallableIface * 1243s # org_project_callable_iface_proxy_new_for_bus_sync ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * OrgProjectCallableIfaceSkeleton: 1243s # * 1243s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectCallableIfaceSkeletonClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1243s # */ 1243s # 1243s # struct _OrgProjectCallableIfaceSkeletonPrivate 1243s # { 1243s # GValue *properties; 1243s # GList *changed_properties; 1243s # GSource *changed_properties_idle_source; 1243s # GMainContext *context; 1243s # GMutex lock; 1243s # }; 1243s # 1243s # static void 1243s # _org_project_callable_iface_skeleton_handle_method_call ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name, 1243s # const gchar *method_name, 1243s # GVariant *parameters, 1243s # GDBusMethodInvocation *invocation, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1243s # _ExtendedGDBusMethodInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # guint num_extra; 1243s # gsize n; 1243s # guint signal_id; 1243s # GValue return_value = G_VALUE_INIT; 1243s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1243s # g_assert (info != NULL); 1243s # num_params = g_variant_n_children (parameters); 1243s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1243s # n = 0; 1243s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1243s # g_value_set_object (¶mv[n++], skeleton); 1243s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1243s # g_value_set_object (¶mv[n++], invocation); 1243s # if (info->pass_fdlist) 1243s # { 1243s # #ifdef G_OS_UNIX 1243s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1243s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1243s # #else 1243s # g_assert_not_reached (); 1243s # #endif 1243s # } 1243s # g_variant_iter_init (&iter, parameters); 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1243s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1243s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1243s # if (!g_value_get_boolean (&return_value)) 1243s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1243s # g_value_unset (&return_value); 1243s # for (n = 0; n < num_params + num_extra; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static GVariant * 1243s # _org_project_callable_iface_skeleton_handle_get_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *ret; 1243s # ret = NULL; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # g_value_init (&value, pspec->value_type); 1243s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_value_unset (&value); 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _org_project_callable_iface_skeleton_handle_set_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GVariant *variant, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # gboolean ret; 1243s # ret = FALSE; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # if (info->use_gvariant) 1243s # g_value_set_variant (&value, variant); 1243s # else 1243s # g_dbus_gvariant_to_gvalue (variant, &value); 1243s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # g_value_unset (&value); 1243s # ret = TRUE; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1243s # { 1243s # _org_project_callable_iface_skeleton_handle_method_call, 1243s # _org_project_callable_iface_skeleton_handle_get_property, 1243s # _org_project_callable_iface_skeleton_handle_set_property, 1243s # {NULL} 1243s # }; 1243s # 1243s # static GDBusInterfaceInfo * 1243s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return org_project_callable_iface_interface_info (); 1243s # } 1243s # 1243s # static GDBusInterfaceVTable * 1243s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1243s # } 1243s # 1243s # static GVariant * 1243s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1243s # 1243s # GVariantBuilder builder; 1243s # guint n; 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1243s # goto out; 1243s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1243s # { 1243s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1243s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1243s # { 1243s # GVariant *value; 1243s # 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); 1243s # if (value != NULL) 1243s # { 1243s # g_variant_take_ref (value); 1243s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1243s # g_variant_unref (value); 1243s # } 1243s # } 1243s # } 1243s # out: 1243s # return g_variant_builder_end (&builder); 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # org_project_callable_iface_skeleton_finalize (GObject *object) 1243s # { 1243s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # g_main_context_unref (skeleton->priv->context); 1243s # g_mutex_clear (&skeleton->priv->lock); 1243s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1243s # #else 1243s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1243s # #endif 1243s # 1243s # g_mutex_init (&skeleton->priv->lock); 1243s # skeleton->priv->context = g_main_context_ref_thread_default (); 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusInterfaceSkeletonClass *skeleton_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1243s # 1243s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1243s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1243s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1243s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1243s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # /** 1243s # * org_project_callable_iface_skeleton_new: 1243s # * 1243s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1243s # */ 1243s # OrgProjectCallableIface * 1243s # org_project_callable_iface_skeleton_new (void) 1243s # { 1243s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ 1243s # * Code for interface org.project.OtherCallableIface 1243s # * ------------------------------------------------------------------------ 1243s # */ 1243s # 1243s # /** 1243s # * SECTION:OrgProjectOtherCallableIface 1243s # * @title: OrgProjectOtherCallableIface 1243s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1243s # * 1243s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1243s # */ 1243s # 1243s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1243s # 1243s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "SimpleMethod", 1243s # NULL, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "handle-simple-method", 1243s # FALSE 1243s # }; 1243s # 1243s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1243s # { 1243s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "org.project.OtherCallableIface", 1243s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1243s # NULL, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "org-project-other-callable-iface", 1243s # }; 1243s # 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_interface_info: 1243s # * 1243s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1243s # * 1243s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1243s # */ 1243s # GDBusInterfaceInfo * 1243s # org_project_other_callable_iface_interface_info (void) 1243s # { 1243s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_override_properties: 1243s # * @klass: The class structure for a #GObject derived class. 1243s # * @property_id_begin: The property id to assign to the first overridden property. 1243s # * 1243s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1243s # * The properties are overridden in the order they are defined. 1243s # * 1243s # * Returns: The last property id. 1243s # */ 1243s # guint 1243s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1243s # { 1243s # return property_id_begin - 1; 1243s # } 1243s # 1243s # 1243s # inline static void 1243s # org_project_other_callable_iface_method_marshal_simple_method ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint, 1243s # void *marshal_data) 1243s # { 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1243s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1243s # } 1243s # 1243s # 1243s # /** 1243s # * OrgProjectOtherCallableIface: 1243s # * 1243s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectOtherCallableIfaceIface: 1243s # * @parent_iface: The parent interface. 1243s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1243s # * 1243s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1243s # */ 1243s # 1243s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1243s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1243s # 1243s # static void 1243s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1243s # { 1243s # /* GObject signals for incoming D-Bus method calls: */ 1243s # /** 1243s # * OrgProjectOtherCallableIface::handle-simple-method: 1243s # * @object: A #OrgProjectOtherCallableIface. 1243s # * @invocation: A #GDBusMethodInvocation. 1243s # * 1243s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1243s # * 1243s # * 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. 1243s # * 1243s # * 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. 1243s # */ 1243s # g_signal_new ("handle-simple-method", 1243s # G_TYPE_FROM_INTERFACE (iface), 1243s # G_SIGNAL_RUN_LAST, 1243s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1243s # g_signal_accumulator_true_handled, 1243s # NULL, 1243s # org_project_other_callable_iface_method_marshal_simple_method, 1243s # G_TYPE_BOOLEAN, 1243s # 1, 1243s # G_TYPE_DBUS_METHOD_INVOCATION); 1243s # 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_call_simple_method: 1243s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1243s # */ 1243s # void 1243s # org_project_other_callable_iface_call_simple_method ( 1243s # OrgProjectOtherCallableIface *proxy, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1243s # "SimpleMethod", 1243s # g_variant_new ("()"), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # cancellable, 1243s # callback, 1243s # user_data); 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_call_simple_method_finish: 1243s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1243s # * @error: Return location for error or %NULL. 1243s # * 1243s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1243s # * 1243s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1243s # */ 1243s # gboolean 1243s # org_project_other_callable_iface_call_simple_method_finish ( 1243s # OrgProjectOtherCallableIface *proxy, 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GVariant *_ret; 1243s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1243s # if (_ret == NULL) 1243s # goto _out; 1243s # g_variant_get (_ret, 1243s # "()"); 1243s # g_variant_unref (_ret); 1243s # _out: 1243s # return _ret != NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_call_simple_method_sync: 1243s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL. 1243s # * 1243s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1243s # * 1243s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1243s # */ 1243s # gboolean 1243s # org_project_other_callable_iface_call_simple_method_sync ( 1243s # OrgProjectOtherCallableIface *proxy, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GVariant *_ret; 1243s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1243s # "SimpleMethod", 1243s # g_variant_new ("()"), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # cancellable, 1243s # error); 1243s # if (_ret == NULL) 1243s # goto _out; 1243s # g_variant_get (_ret, 1243s # "()"); 1243s # g_variant_unref (_ret); 1243s # _out: 1243s # return _ret != NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_complete_simple_method: 1243s # * @object: A #OrgProjectOtherCallableIface. 1243s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1243s # * 1243s # * 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. 1243s # * 1243s # * This method will free @invocation, you cannot use it afterwards. 1243s # */ 1243s # void 1243s # org_project_other_callable_iface_complete_simple_method ( 1243s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1243s # GDBusMethodInvocation *invocation) 1243s # { 1243s # g_dbus_method_invocation_return_value (invocation, 1243s # g_variant_new ("()")); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * OrgProjectOtherCallableIfaceProxy: 1243s # * 1243s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectOtherCallableIfaceProxyClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1243s # */ 1243s # 1243s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1243s # { 1243s # GData *qdata; 1243s # }; 1243s # 1243s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1243s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1243s # { 1243s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1243s # g_datalist_clear (&proxy->priv->qdata); 1243s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1243s # guint prop_id G_GNUC_UNUSED, 1243s # GValue *value G_GNUC_UNUSED, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1243s # guint prop_id G_GNUC_UNUSED, 1243s # const GValue *value G_GNUC_UNUSED, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1243s # const gchar *sender_name G_GNUC_UNUSED, 1243s # const gchar *signal_name, 1243s # GVariant *parameters) 1243s # { 1243s # _ExtendedGDBusSignalInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # gsize n; 1243s # guint signal_id; 1243s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1243s # if (info == NULL) 1243s # return; 1243s # num_params = g_variant_n_children (parameters); 1243s # paramv = g_new0 (GValue, num_params + 1); 1243s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1243s # g_value_set_object (¶mv[0], proxy); 1243s # g_variant_iter_init (&iter, parameters); 1243s # n = 1; 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1243s # g_signal_emitv (paramv, signal_id, 0, NULL); 1243s # for (n = 0; n < num_params + 1; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1243s # GVariant *changed_properties, 1243s # const gchar *const *invalidated_properties) 1243s # { 1243s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1243s # guint n; 1243s # const gchar *key; 1243s # GVariantIter *iter; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # g_variant_get (changed_properties, "a{sv}", &iter); 1243s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1243s # g_datalist_remove_data (&proxy->priv->qdata, key); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # g_variant_iter_free (iter); 1243s # for (n = 0; invalidated_properties[n] != NULL; n++) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1243s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1243s # #else 1243s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1243s # #endif 1243s # 1243s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusProxyClass *proxy_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1243s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1243s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1243s # 1243s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1243s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1243s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_proxy_new: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # org_project_other_callable_iface_proxy_new ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_proxy_new_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectOtherCallableIface * 1243s # org_project_other_callable_iface_proxy_new_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_proxy_new_sync: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectOtherCallableIface * 1243s # org_project_other_callable_iface_proxy_new_sync ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_proxy_new_for_bus: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # org_project_other_callable_iface_proxy_new_for_bus ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # 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); 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectOtherCallableIface * 1243s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectOtherCallableIface * 1243s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * OrgProjectOtherCallableIfaceSkeleton: 1243s # * 1243s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectOtherCallableIfaceSkeletonClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1243s # */ 1243s # 1243s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1243s # { 1243s # GValue *properties; 1243s # GList *changed_properties; 1243s # GSource *changed_properties_idle_source; 1243s # GMainContext *context; 1243s # GMutex lock; 1243s # }; 1243s # 1243s # static void 1243s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name, 1243s # const gchar *method_name, 1243s # GVariant *parameters, 1243s # GDBusMethodInvocation *invocation, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1243s # _ExtendedGDBusMethodInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # guint num_extra; 1243s # gsize n; 1243s # guint signal_id; 1243s # GValue return_value = G_VALUE_INIT; 1243s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1243s # g_assert (info != NULL); 1243s # num_params = g_variant_n_children (parameters); 1243s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1243s # n = 0; 1243s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1243s # g_value_set_object (¶mv[n++], skeleton); 1243s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1243s # g_value_set_object (¶mv[n++], invocation); 1243s # if (info->pass_fdlist) 1243s # { 1243s # #ifdef G_OS_UNIX 1243s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1243s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1243s # #else 1243s # g_assert_not_reached (); 1243s # #endif 1243s # } 1243s # g_variant_iter_init (&iter, parameters); 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1243s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1243s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1243s # if (!g_value_get_boolean (&return_value)) 1243s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1243s # g_value_unset (&return_value); 1243s # for (n = 0; n < num_params + num_extra; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static GVariant * 1243s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *ret; 1243s # ret = NULL; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # g_value_init (&value, pspec->value_type); 1243s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_value_unset (&value); 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GVariant *variant, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # gboolean ret; 1243s # ret = FALSE; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # if (info->use_gvariant) 1243s # g_value_set_variant (&value, variant); 1243s # else 1243s # g_dbus_gvariant_to_gvalue (variant, &value); 1243s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # g_value_unset (&value); 1243s # ret = TRUE; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1243s # { 1243s # _org_project_other_callable_iface_skeleton_handle_method_call, 1243s # _org_project_other_callable_iface_skeleton_handle_get_property, 1243s # _org_project_other_callable_iface_skeleton_handle_set_property, 1243s # {NULL} 1243s # }; 1243s # 1243s # static GDBusInterfaceInfo * 1243s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return org_project_other_callable_iface_interface_info (); 1243s # } 1243s # 1243s # static GDBusInterfaceVTable * 1243s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1243s # } 1243s # 1243s # static GVariant * 1243s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1243s # 1243s # GVariantBuilder builder; 1243s # guint n; 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1243s # goto out; 1243s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1243s # { 1243s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1243s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1243s # { 1243s # GVariant *value; 1243s # 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); 1243s # if (value != NULL) 1243s # { 1243s # g_variant_take_ref (value); 1243s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1243s # g_variant_unref (value); 1243s # } 1243s # } 1243s # } 1243s # out: 1243s # return g_variant_builder_end (&builder); 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1243s # { 1243s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # g_main_context_unref (skeleton->priv->context); 1243s # g_mutex_clear (&skeleton->priv->lock); 1243s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1243s # #else 1243s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1243s # #endif 1243s # 1243s # g_mutex_init (&skeleton->priv->lock); 1243s # skeleton->priv->context = g_main_context_ref_thread_default (); 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusInterfaceSkeletonClass *skeleton_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1243s # 1243s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1243s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1243s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1243s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1243s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # /** 1243s # * org_project_other_callable_iface_skeleton_new: 1243s # * 1243s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1243s # */ 1243s # OrgProjectOtherCallableIface * 1243s # org_project_other_callable_iface_skeleton_new (void) 1243s # { 1243s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1243s # } 1243s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1243s # tmpdir: /tmp/tmpt8dkjhuv 1243s # codegen: /usr/bin/gdbus-codegen 1243s # /tmp/tmpt8dkjhuv/tmpftvzsn6h.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpftvzsn6h.xml', '--output', '-', '--body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # #ifdef G_OS_UNIX 1243s # # include 1243s # #endif 1243s # 1243s # #ifdef G_ENABLE_DEBUG 1243s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1243s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1243s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1243s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1243s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1243s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1243s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1243s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1243s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1243s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1243s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1243s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1243s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1243s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1243s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1243s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1243s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1243s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1243s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1243s # #else /* !G_ENABLE_DEBUG */ 1243s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1243s # * Do not access GValues directly in your code. Instead, use the 1243s # * g_value_get_*() functions 1243s # */ 1243s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1243s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1243s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1243s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1243s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1243s # #endif /* !G_ENABLE_DEBUG */ 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusArgInfo parent_struct; 1243s # gboolean use_gvariant; 1243s # } _ExtendedGDBusArgInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusMethodInfo parent_struct; 1243s # const gchar *signal_name; 1243s # gboolean pass_fdlist; 1243s # } _ExtendedGDBusMethodInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusSignalInfo parent_struct; 1243s # const gchar *signal_name; 1243s # } _ExtendedGDBusSignalInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusPropertyInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # guint use_gvariant : 1; 1243s # guint emits_changed_signal : 1; 1243s # } _ExtendedGDBusPropertyInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusInterfaceInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # } _ExtendedGDBusInterfaceInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # guint prop_id; 1243s # GValue orig_value; /* the value before the change */ 1243s # } ChangedProperty; 1243s # 1243s # static void 1243s # _changed_property_free (ChangedProperty *data) 1243s # { 1243s # g_value_unset (&data->orig_value); 1243s # g_free (data); 1243s # } 1243s # 1243s # static gboolean 1243s # _g_strv_equal0 (gchar **a, gchar **b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # guint n; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # if (g_strv_length (a) != g_strv_length (b)) 1243s # goto out; 1243s # for (n = 0; a[n] != NULL; n++) 1243s # if (g_strcmp0 (a[n], b[n]) != 0) 1243s # goto out; 1243s # ret = TRUE; 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _g_variant_equal0 (GVariant *a, GVariant *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # ret = g_variant_equal (a, b); 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # G_GNUC_UNUSED static gboolean 1243s # _g_value_equal (const GValue *a, const GValue *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1243s # switch (G_VALUE_TYPE (a)) 1243s # { 1243s # case G_TYPE_BOOLEAN: 1243s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1243s # break; 1243s # case G_TYPE_UCHAR: 1243s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1243s # break; 1243s # case G_TYPE_INT: 1243s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1243s # break; 1243s # case G_TYPE_UINT: 1243s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1243s # break; 1243s # case G_TYPE_INT64: 1243s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1243s # break; 1243s # case G_TYPE_UINT64: 1243s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1243s # break; 1243s # case G_TYPE_DOUBLE: 1243s # { 1243s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1243s # gdouble da = g_value_get_double (a); 1243s # gdouble db = g_value_get_double (b); 1243s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1243s # } 1243s # break; 1243s # case G_TYPE_STRING: 1243s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1243s # break; 1243s # case G_TYPE_VARIANT: 1243s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1243s # break; 1243s # default: 1243s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1243s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1243s # else 1243s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1243s # break; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static void 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint G_GNUC_UNUSED, 1243s # void *marshal_data) 1243s # { 1243s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1243s # (void *data1, 1243s # GDBusMethodInvocation *arg_method_invocation, 1243s # gboolean arg_arg_b, 1243s # void *data2); 1243s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1243s # GCClosure *cc = (GCClosure*) closure; 1243s # void *data1, *data2; 1243s # gboolean v_return; 1243s # 1243s # g_return_if_fail (return_value != NULL); 1243s # g_return_if_fail (n_param_values == 3); 1243s # 1243s # if (G_CCLOSURE_SWAP_DATA (closure)) 1243s # { 1243s # data1 = closure->data; 1243s # data2 = g_value_peek_pointer (param_values + 0); 1243s # } 1243s # else 1243s # { 1243s # data1 = g_value_peek_pointer (param_values + 0); 1243s # data2 = closure->data; 1243s # } 1243s # 1243s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1243s # (marshal_data ? marshal_data : cc->callback); 1243s # 1243s # v_return = 1243s # callback (data1, 1243s # g_marshal_value_peek_object (param_values + 1), 1243s # g_marshal_value_peek_boolean (param_values + 2), 1243s # data2); 1243s # 1243s # g_value_set_boolean (return_value, v_return); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ 1243s # * Code for interface org.project.UsefulInterface 1243s # * ------------------------------------------------------------------------ 1243s # */ 1243s # 1243s # /** 1243s # * SECTION:OrgProjectUsefulInterface 1243s # * @title: OrgProjectUsefulInterface 1243s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1243s # * 1243s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1243s # */ 1243s # 1243s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1243s # 1243s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "arg_b", 1243s # (gchar *) "b", 1243s # NULL 1243s # }, 1243s # FALSE 1243s # }; 1243s # 1243s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1243s # { 1243s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "SingleArgMethodB", 1243s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "handle-single-arg-method-b", 1243s # FALSE 1243s # }; 1243s # 1243s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1243s # { 1243s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "org.project.UsefulInterface", 1243s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1243s # NULL, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "org-project-useful-interface", 1243s # }; 1243s # 1243s # 1243s # /** 1243s # * org_project_useful_interface_interface_info: 1243s # * 1243s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1243s # * 1243s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1243s # */ 1243s # GDBusInterfaceInfo * 1243s # org_project_useful_interface_interface_info (void) 1243s # { 1243s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_override_properties: 1243s # * @klass: The class structure for a #GObject derived class. 1243s # * @property_id_begin: The property id to assign to the first overridden property. 1243s # * 1243s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1243s # * The properties are overridden in the order they are defined. 1243s # * 1243s # * Returns: The last property id. 1243s # */ 1243s # guint 1243s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1243s # { 1243s # return property_id_begin - 1; 1243s # } 1243s # 1243s # 1243s # inline static void 1243s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint, 1243s # void *marshal_data) 1243s # { 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1243s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1243s # } 1243s # 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterface: 1243s # * 1243s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterfaceIface: 1243s # * @parent_iface: The parent interface. 1243s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1243s # * 1243s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1243s # */ 1243s # 1243s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1243s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1243s # 1243s # static void 1243s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1243s # { 1243s # /* GObject signals for incoming D-Bus method calls: */ 1243s # /** 1243s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1243s # * @object: A #OrgProjectUsefulInterface. 1243s # * @invocation: A #GDBusMethodInvocation. 1243s # * @arg_arg_b: Argument passed by remote caller. 1243s # * 1243s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1243s # * 1243s # * 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. 1243s # * 1243s # * 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. 1243s # */ 1243s # g_signal_new ("handle-single-arg-method-b", 1243s # G_TYPE_FROM_INTERFACE (iface), 1243s # G_SIGNAL_RUN_LAST, 1243s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1243s # g_signal_accumulator_true_handled, 1243s # NULL, 1243s # org_project_useful_interface_method_marshal_single_arg_method_b, 1243s # G_TYPE_BOOLEAN, 1243s # 2, 1243s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1243s # 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_call_single_arg_method_b: 1243s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1243s # * @arg_arg_b: Argument to pass with the method invocation. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1243s # */ 1243s # void 1243s # org_project_useful_interface_call_single_arg_method_b ( 1243s # OrgProjectUsefulInterface *proxy, 1243s # gboolean arg_arg_b, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1243s # "SingleArgMethodB", 1243s # g_variant_new ("(b)", 1243s # arg_arg_b), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # cancellable, 1243s # callback, 1243s # user_data); 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_call_single_arg_method_b_finish: 1243s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1243s # * @error: Return location for error or %NULL. 1243s # * 1243s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1243s # * 1243s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1243s # */ 1243s # gboolean 1243s # org_project_useful_interface_call_single_arg_method_b_finish ( 1243s # OrgProjectUsefulInterface *proxy, 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GVariant *_ret; 1243s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1243s # if (_ret == NULL) 1243s # goto _out; 1243s # g_variant_get (_ret, 1243s # "()"); 1243s # g_variant_unref (_ret); 1243s # _out: 1243s # return _ret != NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_call_single_arg_method_b_sync: 1243s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1243s # * @arg_arg_b: Argument to pass with the method invocation. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL. 1243s # * 1243s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1243s # * 1243s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1243s # */ 1243s # gboolean 1243s # org_project_useful_interface_call_single_arg_method_b_sync ( 1243s # OrgProjectUsefulInterface *proxy, 1243s # gboolean arg_arg_b, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GVariant *_ret; 1243s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1243s # "SingleArgMethodB", 1243s # g_variant_new ("(b)", 1243s # arg_arg_b), 1243s # G_DBUS_CALL_FLAGS_NONE, 1243s # -1, 1243s # cancellable, 1243s # error); 1243s # if (_ret == NULL) 1243s # goto _out; 1243s # g_variant_get (_ret, 1243s # "()"); 1243s # g_variant_unref (_ret); 1243s # _out: 1243s # return _ret != NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_complete_single_arg_method_b: 1243s # * @object: A #OrgProjectUsefulInterface. 1243s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1243s # * 1243s # * 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. 1243s # * 1243s # * This method will free @invocation, you cannot use it afterwards. 1243s # */ 1243s # void 1243s # org_project_useful_interface_complete_single_arg_method_b ( 1243s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1243s # GDBusMethodInvocation *invocation) 1243s # { 1243s # g_dbus_method_invocation_return_value (invocation, 1243s # g_variant_new ("()")); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterfaceProxy: 1243s # * 1243s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterfaceProxyClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1243s # */ 1243s # 1243s # struct _OrgProjectUsefulInterfaceProxyPrivate 1243s # { 1243s # GData *qdata; 1243s # }; 1243s # 1243s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1243s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # org_project_useful_interface_proxy_finalize (GObject *object) 1243s # { 1243s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1243s # g_datalist_clear (&proxy->priv->qdata); 1243s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1243s # guint prop_id G_GNUC_UNUSED, 1243s # GValue *value G_GNUC_UNUSED, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1243s # guint prop_id G_GNUC_UNUSED, 1243s # const GValue *value G_GNUC_UNUSED, 1243s # GParamSpec *pspec G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1243s # const gchar *sender_name G_GNUC_UNUSED, 1243s # const gchar *signal_name, 1243s # GVariant *parameters) 1243s # { 1243s # _ExtendedGDBusSignalInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # gsize n; 1243s # guint signal_id; 1243s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1243s # if (info == NULL) 1243s # return; 1243s # num_params = g_variant_n_children (parameters); 1243s # paramv = g_new0 (GValue, num_params + 1); 1243s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1243s # g_value_set_object (¶mv[0], proxy); 1243s # g_variant_iter_init (&iter, parameters); 1243s # n = 1; 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1243s # g_signal_emitv (paramv, signal_id, 0, NULL); 1243s # for (n = 0; n < num_params + 1; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1243s # GVariant *changed_properties, 1243s # const gchar *const *invalidated_properties) 1243s # { 1243s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1243s # guint n; 1243s # const gchar *key; 1243s # GVariantIter *iter; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # g_variant_get (changed_properties, "a{sv}", &iter); 1243s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1243s # g_datalist_remove_data (&proxy->priv->qdata, key); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # g_variant_iter_free (iter); 1243s # for (n = 0; invalidated_properties[n] != NULL; n++) 1243s # { 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1243s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1243s # if (info != NULL) 1243s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1243s # } 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1243s # #else 1243s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1243s # #endif 1243s # 1243s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusProxyClass *proxy_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1243s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1243s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1243s # 1243s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1243s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1243s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_proxy_new: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # org_project_useful_interface_proxy_new ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # g_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); 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_proxy_new_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectUsefulInterface * 1243s # org_project_useful_interface_proxy_new_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_proxy_new_sync: 1243s # * @connection: A #GDBusConnection. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectUsefulInterface * 1243s # org_project_useful_interface_proxy_new_sync ( 1243s # GDBusConnection *connection, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /** 1243s # * org_project_useful_interface_proxy_new_for_bus: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1243s # * @user_data: User data to pass to @callback. 1243s # * 1243s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1243s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1243s # * 1243s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1243s # */ 1243s # void 1243s # org_project_useful_interface_proxy_new_for_bus ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GAsyncReadyCallback callback, 1243s # gpointer user_data) 1243s # { 1243s # g_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); 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_proxy_new_for_bus_finish: 1243s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectUsefulInterface * 1243s # org_project_useful_interface_proxy_new_for_bus_finish ( 1243s # GAsyncResult *res, 1243s # GError **error) 1243s # { 1243s # GObject *ret; 1243s # GObject *source_object; 1243s # source_object = g_async_result_get_source_object (res); 1243s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1243s # g_object_unref (source_object); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_proxy_new_for_bus_sync: 1243s # * @bus_type: A #GBusType. 1243s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1243s # * @name: A bus name (well-known or unique). 1243s # * @object_path: An object path. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @error: Return location for error or %NULL 1243s # * 1243s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1243s # * 1243s # * The calling thread is blocked until a reply is received. 1243s # * 1243s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1243s # */ 1243s # OrgProjectUsefulInterface * 1243s # org_project_useful_interface_proxy_new_for_bus_sync ( 1243s # GBusType bus_type, 1243s # GDBusProxyFlags flags, 1243s # const gchar *name, 1243s # const gchar *object_path, 1243s # GCancellable *cancellable, 1243s # GError **error) 1243s # { 1243s # GInitable *ret; 1243s # 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); 1243s # if (ret != NULL) 1243s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1243s # else 1243s # return NULL; 1243s # } 1243s # 1243s # 1243s # /* ------------------------------------------------------------------------ */ 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterfaceSkeleton: 1243s # * 1243s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterfaceSkeletonClass: 1243s # * @parent_class: The parent class. 1243s # * 1243s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1243s # */ 1243s # 1243s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1243s # { 1243s # GValue *properties; 1243s # GList *changed_properties; 1243s # GSource *changed_properties_idle_source; 1243s # GMainContext *context; 1243s # GMutex lock; 1243s # }; 1243s # 1243s # static void 1243s # _org_project_useful_interface_skeleton_handle_method_call ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name, 1243s # const gchar *method_name, 1243s # GVariant *parameters, 1243s # GDBusMethodInvocation *invocation, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1243s # _ExtendedGDBusMethodInfo *info; 1243s # GVariantIter iter; 1243s # GVariant *child; 1243s # GValue *paramv; 1243s # gsize num_params; 1243s # guint num_extra; 1243s # gsize n; 1243s # guint signal_id; 1243s # GValue return_value = G_VALUE_INIT; 1243s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1243s # g_assert (info != NULL); 1243s # num_params = g_variant_n_children (parameters); 1243s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1243s # n = 0; 1243s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1243s # g_value_set_object (¶mv[n++], skeleton); 1243s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1243s # g_value_set_object (¶mv[n++], invocation); 1243s # if (info->pass_fdlist) 1243s # { 1243s # #ifdef G_OS_UNIX 1243s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1243s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1243s # #else 1243s # g_assert_not_reached (); 1243s # #endif 1243s # } 1243s # g_variant_iter_init (&iter, parameters); 1243s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1243s # { 1243s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1243s # if (arg_info->use_gvariant) 1243s # { 1243s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1243s # g_value_set_variant (¶mv[n], child); 1243s # n++; 1243s # } 1243s # else 1243s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1243s # g_variant_unref (child); 1243s # } 1243s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1243s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1243s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1243s # if (!g_value_get_boolean (&return_value)) 1243s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1243s # g_value_unset (&return_value); 1243s # for (n = 0; n < num_params + num_extra; n++) 1243s # g_value_unset (¶mv[n]); 1243s # g_free (paramv); 1243s # } 1243s # 1243s # static GVariant * 1243s # _org_project_useful_interface_skeleton_handle_get_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # GVariant *ret; 1243s # ret = NULL; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # g_value_init (&value, pspec->value_type); 1243s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1243s # g_value_unset (&value); 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _org_project_useful_interface_skeleton_handle_set_property ( 1243s # GDBusConnection *connection G_GNUC_UNUSED, 1243s # const gchar *sender G_GNUC_UNUSED, 1243s # const gchar *object_path G_GNUC_UNUSED, 1243s # const gchar *interface_name G_GNUC_UNUSED, 1243s # const gchar *property_name, 1243s # GVariant *variant, 1243s # GError **error, 1243s # gpointer user_data) 1243s # { 1243s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1243s # GValue value = G_VALUE_INIT; 1243s # GParamSpec *pspec; 1243s # _ExtendedGDBusPropertyInfo *info; 1243s # gboolean ret; 1243s # ret = FALSE; 1243s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1243s # g_assert (info != NULL); 1243s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1243s # if (pspec == NULL) 1243s # { 1243s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1243s # } 1243s # else 1243s # { 1243s # if (info->use_gvariant) 1243s # g_value_set_variant (&value, variant); 1243s # else 1243s # g_dbus_gvariant_to_gvalue (variant, &value); 1243s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1243s # g_value_unset (&value); 1243s # ret = TRUE; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1243s # { 1243s # _org_project_useful_interface_skeleton_handle_method_call, 1243s # _org_project_useful_interface_skeleton_handle_get_property, 1243s # _org_project_useful_interface_skeleton_handle_set_property, 1243s # {NULL} 1243s # }; 1243s # 1243s # static GDBusInterfaceInfo * 1243s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return org_project_useful_interface_interface_info (); 1243s # } 1243s # 1243s # static GDBusInterfaceVTable * 1243s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1243s # { 1243s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1243s # } 1243s # 1243s # static GVariant * 1243s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1243s # { 1243s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1243s # 1243s # GVariantBuilder builder; 1243s # guint n; 1243s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1243s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1243s # goto out; 1243s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1243s # { 1243s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1243s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1243s # { 1243s # GVariant *value; 1243s # 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); 1243s # if (value != NULL) 1243s # { 1243s # g_variant_take_ref (value); 1243s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1243s # g_variant_unref (value); 1243s # } 1243s # } 1243s # } 1243s # out: 1243s # return g_variant_builder_end (&builder); 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1243s # 1243s # #else 1243s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1243s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1243s # 1243s # #endif 1243s # static void 1243s # org_project_useful_interface_skeleton_finalize (GObject *object) 1243s # { 1243s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1243s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1243s # if (skeleton->priv->changed_properties_idle_source != NULL) 1243s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1243s # g_main_context_unref (skeleton->priv->context); 1243s # g_mutex_clear (&skeleton->priv->lock); 1243s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1243s # { 1243s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1243s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1243s # #else 1243s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1243s # #endif 1243s # 1243s # g_mutex_init (&skeleton->priv->lock); 1243s # skeleton->priv->context = g_main_context_ref_thread_default (); 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1243s # { 1243s # GObjectClass *gobject_class; 1243s # GDBusInterfaceSkeletonClass *skeleton_class; 1243s # 1243s # gobject_class = G_OBJECT_CLASS (klass); 1243s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1243s # 1243s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1243s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1243s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1243s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1243s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1243s # 1243s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1243s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1243s # #endif 1243s # } 1243s # 1243s # static void 1243s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1243s # { 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_skeleton_new: 1243s # * 1243s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1243s # * 1243s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1243s # */ 1243s # OrgProjectUsefulInterface * 1243s # org_project_useful_interface_skeleton_new (void) 1243s # { 1243s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1243s # } 1243s # /tmp/tmpt8dkjhuv/tmpx37x2p92.xml: 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # 1243s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpx37x2p92.xml', '--output', '-', '--body'] 1243s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1243s # Output: /* 1243s # * This file is generated by gdbus-codegen, do not modify it. 1243s # * 1243s # * The license of this code is the same as for the D-Bus interface description 1243s # * it was derived from. Note that it links to GLib, so must comply with the 1243s # * LGPL linking clauses. 1243s # */ 1243s # 1243s # #ifdef HAVE_CONFIG_H 1243s # # include "config.h" 1243s # #endif 1243s # 1243s # #include 1243s # #ifdef G_OS_UNIX 1243s # # include 1243s # #endif 1243s # 1243s # #ifdef G_ENABLE_DEBUG 1243s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1243s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1243s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1243s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1243s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1243s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1243s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1243s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1243s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1243s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1243s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1243s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1243s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1243s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1243s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1243s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1243s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1243s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1243s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1243s # #else /* !G_ENABLE_DEBUG */ 1243s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1243s # * Do not access GValues directly in your code. Instead, use the 1243s # * g_value_get_*() functions 1243s # */ 1243s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1243s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1243s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1243s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1243s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1243s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1243s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1243s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1243s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1243s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1243s # #endif /* !G_ENABLE_DEBUG */ 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusArgInfo parent_struct; 1243s # gboolean use_gvariant; 1243s # } _ExtendedGDBusArgInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusMethodInfo parent_struct; 1243s # const gchar *signal_name; 1243s # gboolean pass_fdlist; 1243s # } _ExtendedGDBusMethodInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusSignalInfo parent_struct; 1243s # const gchar *signal_name; 1243s # } _ExtendedGDBusSignalInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusPropertyInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # guint use_gvariant : 1; 1243s # guint emits_changed_signal : 1; 1243s # } _ExtendedGDBusPropertyInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # GDBusInterfaceInfo parent_struct; 1243s # const gchar *hyphen_name; 1243s # } _ExtendedGDBusInterfaceInfo; 1243s # 1243s # typedef struct 1243s # { 1243s # const _ExtendedGDBusPropertyInfo *info; 1243s # guint prop_id; 1243s # GValue orig_value; /* the value before the change */ 1243s # } ChangedProperty; 1243s # 1243s # static void 1243s # _changed_property_free (ChangedProperty *data) 1243s # { 1243s # g_value_unset (&data->orig_value); 1243s # g_free (data); 1243s # } 1243s # 1243s # static gboolean 1243s # _g_strv_equal0 (gchar **a, gchar **b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # guint n; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # if (g_strv_length (a) != g_strv_length (b)) 1243s # goto out; 1243s # for (n = 0; a[n] != NULL; n++) 1243s # if (g_strcmp0 (a[n], b[n]) != 0) 1243s # goto out; 1243s # ret = TRUE; 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # static gboolean 1243s # _g_variant_equal0 (GVariant *a, GVariant *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # if (a == NULL && b == NULL) 1243s # { 1243s # ret = TRUE; 1243s # goto out; 1243s # } 1243s # if (a == NULL || b == NULL) 1243s # goto out; 1243s # ret = g_variant_equal (a, b); 1243s # out: 1243s # return ret; 1243s # } 1243s # 1243s # G_GNUC_UNUSED static gboolean 1243s # _g_value_equal (const GValue *a, const GValue *b) 1243s # { 1243s # gboolean ret = FALSE; 1243s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1243s # switch (G_VALUE_TYPE (a)) 1243s # { 1243s # case G_TYPE_BOOLEAN: 1243s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1243s # break; 1243s # case G_TYPE_UCHAR: 1243s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1243s # break; 1243s # case G_TYPE_INT: 1243s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1243s # break; 1243s # case G_TYPE_UINT: 1243s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1243s # break; 1243s # case G_TYPE_INT64: 1243s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1243s # break; 1243s # case G_TYPE_UINT64: 1243s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1243s # break; 1243s # case G_TYPE_DOUBLE: 1243s # { 1243s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1243s # gdouble da = g_value_get_double (a); 1243s # gdouble db = g_value_get_double (b); 1243s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1243s # } 1243s # break; 1243s # case G_TYPE_STRING: 1243s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1243s # break; 1243s # case G_TYPE_VARIANT: 1243s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1243s # break; 1243s # default: 1243s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1243s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1243s # else 1243s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1243s # break; 1243s # } 1243s # return ret; 1243s # } 1243s # 1243s # static void 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint G_GNUC_UNUSED, 1243s # void *marshal_data) 1243s # { 1243s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1243s # (void *data1, 1243s # GDBusMethodInvocation *arg_method_invocation, 1243s # guchar arg_arg_y, 1243s # void *data2); 1243s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1243s # GCClosure *cc = (GCClosure*) closure; 1243s # void *data1, *data2; 1243s # gboolean v_return; 1243s # 1243s # g_return_if_fail (return_value != NULL); 1243s # g_return_if_fail (n_param_values == 3); 1243s # 1243s # if (G_CCLOSURE_SWAP_DATA (closure)) 1243s # { 1243s # data1 = closure->data; 1243s # data2 = g_value_peek_pointer (param_values + 0); 1243s # } 1243s # else 1243s # { 1243s # data1 = g_value_peek_pointer (param_values + 0); 1243s # data2 = closure->data; 1243s # } 1243s # 1243s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1243s # (marshal_data ? marshal_data : cc->callback); 1243s # 1243s # v_return = 1243s # callback (data1, 1243s # g_marshal_value_peek_object (param_values + 1), 1243s # g_marshal_value_peek_uchar (param_values + 2), 1243s # data2); 1243s # 1243s # g_value_set_boolean (return_value, v_return); 1243s # } 1243s # 1243s # /* ------------------------------------------------------------------------ 1243s # * Code for interface org.project.UsefulInterface 1243s # * ------------------------------------------------------------------------ 1243s # */ 1243s # 1243s # /** 1243s # * SECTION:OrgProjectUsefulInterface 1243s # * @title: OrgProjectUsefulInterface 1243s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1243s # * 1243s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1243s # */ 1243s # 1243s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1243s # 1243s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "arg_y", 1243s # (gchar *) "y", 1243s # NULL 1243s # }, 1243s # FALSE 1243s # }; 1243s # 1243s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1243s # { 1243s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "SingleArgMethodY", 1243s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "handle-single-arg-method-y", 1243s # FALSE 1243s # }; 1243s # 1243s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1243s # { 1243s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1243s # NULL 1243s # }; 1243s # 1243s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1243s # { 1243s # { 1243s # -1, 1243s # (gchar *) "org.project.UsefulInterface", 1243s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1243s # NULL, 1243s # NULL, 1243s # NULL 1243s # }, 1243s # "org-project-useful-interface", 1243s # }; 1243s # 1243s # 1243s # /** 1243s # * org_project_useful_interface_interface_info: 1243s # * 1243s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1243s # * 1243s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1243s # */ 1243s # GDBusInterfaceInfo * 1243s # org_project_useful_interface_interface_info (void) 1243s # { 1243s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_override_properties: 1243s # * @klass: The class structure for a #GObject derived class. 1243s # * @property_id_begin: The property id to assign to the first overridden property. 1243s # * 1243s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1243s # * The properties are overridden in the order they are defined. 1243s # * 1243s # * Returns: The last property id. 1243s # */ 1243s # guint 1243s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1243s # { 1243s # return property_id_begin - 1; 1243s # } 1243s # 1243s # 1243s # inline static void 1243s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1243s # GClosure *closure, 1243s # GValue *return_value, 1243s # unsigned int n_param_values, 1243s # const GValue *param_values, 1243s # void *invocation_hint, 1243s # void *marshal_data) 1243s # { 1243s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1243s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1243s # } 1243s # 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterface: 1243s # * 1243s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1243s # */ 1243s # 1243s # /** 1243s # * OrgProjectUsefulInterfaceIface: 1243s # * @parent_iface: The parent interface. 1243s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1243s # * 1243s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1243s # */ 1243s # 1243s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1243s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1243s # 1243s # static void 1243s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1243s # { 1243s # /* GObject signals for incoming D-Bus method calls: */ 1243s # /** 1243s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1243s # * @object: A #OrgProjectUsefulInterface. 1243s # * @invocation: A #GDBusMethodInvocation. 1243s # * @arg_arg_y: Argument passed by remote caller. 1243s # * 1243s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1243s # * 1243s # * 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. 1243s # * 1243s # * 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. 1243s # */ 1243s # g_signal_new ("handle-single-arg-method-y", 1243s # G_TYPE_FROM_INTERFACE (iface), 1243s # G_SIGNAL_RUN_LAST, 1243s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1243s # g_signal_accumulator_true_handled, 1243s # NULL, 1243s # org_project_useful_interface_method_marshal_single_arg_method_y, 1243s # G_TYPE_BOOLEAN, 1243s # 2, 1243s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1243s # 1243s # } 1243s # 1243s # /** 1243s # * org_project_useful_interface_call_single_arg_method_y: 1243s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1243s # * @arg_arg_y: Argument to pass with the method invocation. 1243s # * @cancellable: (nullable): A #GCancellable or %NULL. 1243s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_y ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guchar arg_arg_y, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodY", 1244s # g_variant_new ("(y)", 1244s # arg_arg_y), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_y_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_y_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_y_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_y: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_y_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guchar arg_arg_y, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodY", 1244s # g_variant_new ("(y)", 1244s # arg_arg_y), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_y: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_y ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmpte787_id.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpte787_id.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # gint16 arg_arg_n, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_int (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_n", 1244s # (gchar *) "n", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodN", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-n", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_n: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-n", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_n, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_n: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_n: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_n ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gint16 arg_arg_n, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodN", 1244s # g_variant_new ("(n)", 1244s # arg_arg_n), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_n_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_n_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_n_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_n: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_n_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gint16 arg_arg_n, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodN", 1244s # g_variant_new ("(n)", 1244s # arg_arg_n), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_n: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_n ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmphac05qb6.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmphac05qb6.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # guint16 arg_arg_q, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_uint (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_q", 1244s # (gchar *) "q", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodQ", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-q", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_q: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-q", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_q, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_q: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_q: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_q ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guint16 arg_arg_q, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodQ", 1244s # g_variant_new ("(q)", 1244s # arg_arg_q), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_q_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_q_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_q_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_q: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_q_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guint16 arg_arg_q, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodQ", 1244s # g_variant_new ("(q)", 1244s # arg_arg_q), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_q: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_q ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmpyadow1va.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpyadow1va.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # gint arg_arg_i, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_int (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_i", 1244s # (gchar *) "i", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodI", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-i", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_i: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-i", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_i, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_i: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_i: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_i ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gint arg_arg_i, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodI", 1244s # g_variant_new ("(i)", 1244s # arg_arg_i), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_i_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_i_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_i_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_i: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_i_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gint arg_arg_i, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodI", 1244s # g_variant_new ("(i)", 1244s # arg_arg_i), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_i: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_i ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmp2fsghnz2.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmp2fsghnz2.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # guint arg_arg_u, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_uint (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_u", 1244s # (gchar *) "u", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodU", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-u", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_u: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-u", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_u, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_u: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_u: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_u ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guint arg_arg_u, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodU", 1244s # g_variant_new ("(u)", 1244s # arg_arg_u), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_u_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_u_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_u_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_u: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_u_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guint arg_arg_u, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodU", 1244s # g_variant_new ("(u)", 1244s # arg_arg_u), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_u: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_u ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmpoe9cecmb.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpoe9cecmb.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # gint64 arg_arg_x, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_int64 (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_x", 1244s # (gchar *) "x", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodX", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-x", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_x: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-x", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_x, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_x: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_x: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_x ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gint64 arg_arg_x, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodX", 1244s # g_variant_new ("(x)", 1244s # arg_arg_x), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_x_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_x_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_x_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_x: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_x_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gint64 arg_arg_x, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodX", 1244s # g_variant_new ("(x)", 1244s # arg_arg_x), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_x: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_x ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmp29xc07f1.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmp29xc07f1.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # guint64 arg_arg_t, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_uint64 (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_t", 1244s # (gchar *) "t", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodT", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-t", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_t: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-t", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_t, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_t: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_t: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_t ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guint64 arg_arg_t, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodT", 1244s # g_variant_new ("(t)", 1244s # arg_arg_t), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_t_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_t_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_t_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_t: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_t_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # guint64 arg_arg_t, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodT", 1244s # g_variant_new ("(t)", 1244s # arg_arg_t), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_t: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_t ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmp8q6mn_49.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmp8q6mn_49.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # gdouble arg_arg_d, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_double (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_d", 1244s # (gchar *) "d", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodD", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-d", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_d: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-d", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_d, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_d: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_d: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_d ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gdouble arg_arg_d, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodD", 1244s # g_variant_new ("(d)", 1244s # arg_arg_d), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_d_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_d_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_d_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_d: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_d_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # gdouble arg_arg_d, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodD", 1244s # g_variant_new ("(d)", 1244s # arg_arg_d), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_d: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_d ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmplzytrd6l.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmplzytrd6l.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # const gchar *arg_arg_s, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_string (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1244s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1244s # */ 1244s # 1244s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1244s # 1244s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "arg_s", 1244s # (gchar *) "s", 1244s # NULL 1244s # }, 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "SingleArgMethodS", 1244s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "handle-single-arg-method-s", 1244s # FALSE 1244s # }; 1244s # 1244s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1244s # { 1244s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1244s # NULL 1244s # }; 1244s # 1244s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1244s # { 1244s # { 1244s # -1, 1244s # (gchar *) "org.project.UsefulInterface", 1244s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1244s # NULL, 1244s # NULL, 1244s # NULL 1244s # }, 1244s # "org-project-useful-interface", 1244s # }; 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_interface_info: 1244s # * 1244s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1244s # * 1244s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1244s # */ 1244s # GDBusInterfaceInfo * 1244s # org_project_useful_interface_interface_info (void) 1244s # { 1244s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_override_properties: 1244s # * @klass: The class structure for a #GObject derived class. 1244s # * @property_id_begin: The property id to assign to the first overridden property. 1244s # * 1244s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1244s # * The properties are overridden in the order they are defined. 1244s # * 1244s # * Returns: The last property id. 1244s # */ 1244s # guint 1244s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1244s # { 1244s # return property_id_begin - 1; 1244s # } 1244s # 1244s # 1244s # inline static void 1244s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint, 1244s # void *marshal_data) 1244s # { 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1244s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1244s # } 1244s # 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterface: 1244s # * 1244s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceIface: 1244s # * @parent_iface: The parent interface. 1244s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1244s # * 1244s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1244s # */ 1244s # 1244s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1244s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1244s # 1244s # static void 1244s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1244s # { 1244s # /* GObject signals for incoming D-Bus method calls: */ 1244s # /** 1244s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: A #GDBusMethodInvocation. 1244s # * @arg_arg_s: Argument passed by remote caller. 1244s # * 1244s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1244s # * 1244s # * 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. 1244s # * 1244s # * 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. 1244s # */ 1244s # g_signal_new ("handle-single-arg-method-s", 1244s # G_TYPE_FROM_INTERFACE (iface), 1244s # G_SIGNAL_RUN_LAST, 1244s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1244s # g_signal_accumulator_true_handled, 1244s # NULL, 1244s # org_project_useful_interface_method_marshal_single_arg_method_s, 1244s # G_TYPE_BOOLEAN, 1244s # 2, 1244s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1244s # 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_s: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_s: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1244s # */ 1244s # void 1244s # org_project_useful_interface_call_single_arg_method_s ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # const gchar *arg_arg_s, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodS", 1244s # g_variant_new ("(s)", 1244s # arg_arg_s), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # callback, 1244s # user_data); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_s_finish: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_s_finish ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_call_single_arg_method_s_sync: 1244s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1244s # * @arg_arg_s: Argument to pass with the method invocation. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL. 1244s # * 1244s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1244s # * 1244s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1244s # */ 1244s # gboolean 1244s # org_project_useful_interface_call_single_arg_method_s_sync ( 1244s # OrgProjectUsefulInterface *proxy, 1244s # const gchar *arg_arg_s, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GVariant *_ret; 1244s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1244s # "SingleArgMethodS", 1244s # g_variant_new ("(s)", 1244s # arg_arg_s), 1244s # G_DBUS_CALL_FLAGS_NONE, 1244s # -1, 1244s # cancellable, 1244s # error); 1244s # if (_ret == NULL) 1244s # goto _out; 1244s # g_variant_get (_ret, 1244s # "()"); 1244s # g_variant_unref (_ret); 1244s # _out: 1244s # return _ret != NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_complete_single_arg_method_s: 1244s # * @object: A #OrgProjectUsefulInterface. 1244s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1244s # * 1244s # * 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. 1244s # * 1244s # * This method will free @invocation, you cannot use it afterwards. 1244s # */ 1244s # void 1244s # org_project_useful_interface_complete_single_arg_method_s ( 1244s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1244s # GDBusMethodInvocation *invocation) 1244s # { 1244s # g_dbus_method_invocation_return_value (invocation, 1244s # g_variant_new ("()")); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxy: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceProxyClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceProxyPrivate 1244s # { 1244s # GData *qdata; 1244s # }; 1244s # 1244s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_proxy_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1244s # g_datalist_clear (&proxy->priv->qdata); 1244s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1244s # guint prop_id G_GNUC_UNUSED, 1244s # const GValue *value G_GNUC_UNUSED, 1244s # GParamSpec *pspec G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1244s # const gchar *sender_name G_GNUC_UNUSED, 1244s # const gchar *signal_name, 1244s # GVariant *parameters) 1244s # { 1244s # _ExtendedGDBusSignalInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # gsize n; 1244s # guint signal_id; 1244s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1244s # if (info == NULL) 1244s # return; 1244s # num_params = g_variant_n_children (parameters); 1244s # paramv = g_new0 (GValue, num_params + 1); 1244s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[0], proxy); 1244s # g_variant_iter_init (&iter, parameters); 1244s # n = 1; 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_signal_emitv (paramv, signal_id, 0, NULL); 1244s # for (n = 0; n < num_params + 1; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1244s # GVariant *changed_properties, 1244s # const gchar *const *invalidated_properties) 1244s # { 1244s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1244s # guint n; 1244s # const gchar *key; 1244s # GVariantIter *iter; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # g_variant_get (changed_properties, "a{sv}", &iter); 1244s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1244s # g_datalist_remove_data (&proxy->priv->qdata, key); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # g_variant_iter_free (iter); 1244s # for (n = 0; invalidated_properties[n] != NULL; n++) 1244s # { 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1244s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1244s # if (info != NULL) 1244s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1244s # } 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1244s # #else 1244s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1244s # #endif 1244s # 1244s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusProxyClass *proxy_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1244s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1244s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1244s # 1244s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1244s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1244s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_sync: 1244s # * @connection: A #GDBusConnection. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_sync ( 1244s # GDBusConnection *connection, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1244s # * @user_data: User data to pass to @callback. 1244s # * 1244s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1244s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1244s # */ 1244s # void 1244s # org_project_useful_interface_proxy_new_for_bus ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GAsyncReadyCallback callback, 1244s # gpointer user_data) 1244s # { 1244s # g_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); 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_finish: 1244s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_finish ( 1244s # GAsyncResult *res, 1244s # GError **error) 1244s # { 1244s # GObject *ret; 1244s # GObject *source_object; 1244s # source_object = g_async_result_get_source_object (res); 1244s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1244s # g_object_unref (source_object); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_proxy_new_for_bus_sync: 1244s # * @bus_type: A #GBusType. 1244s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1244s # * @name: A bus name (well-known or unique). 1244s # * @object_path: An object path. 1244s # * @cancellable: (nullable): A #GCancellable or %NULL. 1244s # * @error: Return location for error or %NULL 1244s # * 1244s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1244s # * 1244s # * The calling thread is blocked until a reply is received. 1244s # * 1244s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_proxy_new_for_bus_sync ( 1244s # GBusType bus_type, 1244s # GDBusProxyFlags flags, 1244s # const gchar *name, 1244s # const gchar *object_path, 1244s # GCancellable *cancellable, 1244s # GError **error) 1244s # { 1244s # GInitable *ret; 1244s # 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); 1244s # if (ret != NULL) 1244s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1244s # else 1244s # return NULL; 1244s # } 1244s # 1244s # 1244s # /* ------------------------------------------------------------------------ */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeleton: 1244s # * 1244s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1244s # */ 1244s # 1244s # /** 1244s # * OrgProjectUsefulInterfaceSkeletonClass: 1244s # * @parent_class: The parent class. 1244s # * 1244s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1244s # */ 1244s # 1244s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1244s # { 1244s # GValue *properties; 1244s # GList *changed_properties; 1244s # GSource *changed_properties_idle_source; 1244s # GMainContext *context; 1244s # GMutex lock; 1244s # }; 1244s # 1244s # static void 1244s # _org_project_useful_interface_skeleton_handle_method_call ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name, 1244s # const gchar *method_name, 1244s # GVariant *parameters, 1244s # GDBusMethodInvocation *invocation, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # _ExtendedGDBusMethodInfo *info; 1244s # GVariantIter iter; 1244s # GVariant *child; 1244s # GValue *paramv; 1244s # gsize num_params; 1244s # guint num_extra; 1244s # gsize n; 1244s # guint signal_id; 1244s # GValue return_value = G_VALUE_INIT; 1244s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1244s # g_assert (info != NULL); 1244s # num_params = g_variant_n_children (parameters); 1244s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1244s # n = 0; 1244s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_set_object (¶mv[n++], skeleton); 1244s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1244s # g_value_set_object (¶mv[n++], invocation); 1244s # if (info->pass_fdlist) 1244s # { 1244s # #ifdef G_OS_UNIX 1244s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1244s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1244s # #else 1244s # g_assert_not_reached (); 1244s # #endif 1244s # } 1244s # g_variant_iter_init (&iter, parameters); 1244s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1244s # { 1244s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1244s # if (arg_info->use_gvariant) 1244s # { 1244s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1244s # g_value_set_variant (¶mv[n], child); 1244s # n++; 1244s # } 1244s # else 1244s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1244s # g_variant_unref (child); 1244s # } 1244s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1244s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1244s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1244s # if (!g_value_get_boolean (&return_value)) 1244s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1244s # g_value_unset (&return_value); 1244s # for (n = 0; n < num_params + num_extra; n++) 1244s # g_value_unset (¶mv[n]); 1244s # g_free (paramv); 1244s # } 1244s # 1244s # static GVariant * 1244s # _org_project_useful_interface_skeleton_handle_get_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # GVariant *ret; 1244s # ret = NULL; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # g_value_init (&value, pspec->value_type); 1244s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1244s # g_value_unset (&value); 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _org_project_useful_interface_skeleton_handle_set_property ( 1244s # GDBusConnection *connection G_GNUC_UNUSED, 1244s # const gchar *sender G_GNUC_UNUSED, 1244s # const gchar *object_path G_GNUC_UNUSED, 1244s # const gchar *interface_name G_GNUC_UNUSED, 1244s # const gchar *property_name, 1244s # GVariant *variant, 1244s # GError **error, 1244s # gpointer user_data) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1244s # GValue value = G_VALUE_INIT; 1244s # GParamSpec *pspec; 1244s # _ExtendedGDBusPropertyInfo *info; 1244s # gboolean ret; 1244s # ret = FALSE; 1244s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1244s # g_assert (info != NULL); 1244s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1244s # if (pspec == NULL) 1244s # { 1244s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1244s # } 1244s # else 1244s # { 1244s # if (info->use_gvariant) 1244s # g_value_set_variant (&value, variant); 1244s # else 1244s # g_dbus_gvariant_to_gvalue (variant, &value); 1244s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1244s # g_value_unset (&value); 1244s # ret = TRUE; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1244s # { 1244s # _org_project_useful_interface_skeleton_handle_method_call, 1244s # _org_project_useful_interface_skeleton_handle_get_property, 1244s # _org_project_useful_interface_skeleton_handle_set_property, 1244s # {NULL} 1244s # }; 1244s # 1244s # static GDBusInterfaceInfo * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return org_project_useful_interface_interface_info (); 1244s # } 1244s # 1244s # static GDBusInterfaceVTable * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1244s # { 1244s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1244s # } 1244s # 1244s # static GVariant * 1244s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1244s # 1244s # GVariantBuilder builder; 1244s # guint n; 1244s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1244s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1244s # goto out; 1244s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1244s # { 1244s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1244s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1244s # { 1244s # GVariant *value; 1244s # 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); 1244s # if (value != NULL) 1244s # { 1244s # g_variant_take_ref (value); 1244s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1244s # g_variant_unref (value); 1244s # } 1244s # } 1244s # } 1244s # out: 1244s # return g_variant_builder_end (&builder); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #else 1244s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1244s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1244s # 1244s # #endif 1244s # static void 1244s # org_project_useful_interface_skeleton_finalize (GObject *object) 1244s # { 1244s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1244s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1244s # if (skeleton->priv->changed_properties_idle_source != NULL) 1244s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1244s # g_main_context_unref (skeleton->priv->context); 1244s # g_mutex_clear (&skeleton->priv->lock); 1244s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1244s # { 1244s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1244s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1244s # #else 1244s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1244s # #endif 1244s # 1244s # g_mutex_init (&skeleton->priv->lock); 1244s # skeleton->priv->context = g_main_context_ref_thread_default (); 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1244s # { 1244s # GObjectClass *gobject_class; 1244s # GDBusInterfaceSkeletonClass *skeleton_class; 1244s # 1244s # gobject_class = G_OBJECT_CLASS (klass); 1244s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1244s # 1244s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1244s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1244s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1244s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1244s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1244s # 1244s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1244s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1244s # #endif 1244s # } 1244s # 1244s # static void 1244s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1244s # { 1244s # } 1244s # 1244s # /** 1244s # * org_project_useful_interface_skeleton_new: 1244s # * 1244s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1244s # * 1244s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1244s # */ 1244s # OrgProjectUsefulInterface * 1244s # org_project_useful_interface_skeleton_new (void) 1244s # { 1244s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1244s # } 1244s # /tmp/tmpt8dkjhuv/tmp0ux6c15y.xml: 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # 1244s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmp0ux6c15y.xml', '--output', '-', '--body'] 1244s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1244s # Output: /* 1244s # * This file is generated by gdbus-codegen, do not modify it. 1244s # * 1244s # * The license of this code is the same as for the D-Bus interface description 1244s # * it was derived from. Note that it links to GLib, so must comply with the 1244s # * LGPL linking clauses. 1244s # */ 1244s # 1244s # #ifdef HAVE_CONFIG_H 1244s # # include "config.h" 1244s # #endif 1244s # 1244s # #include 1244s # #ifdef G_OS_UNIX 1244s # # include 1244s # #endif 1244s # 1244s # #ifdef G_ENABLE_DEBUG 1244s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1244s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1244s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1244s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1244s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1244s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1244s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1244s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1244s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1244s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1244s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1244s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1244s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1244s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1244s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1244s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1244s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1244s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1244s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1244s # #else /* !G_ENABLE_DEBUG */ 1244s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1244s # * Do not access GValues directly in your code. Instead, use the 1244s # * g_value_get_*() functions 1244s # */ 1244s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1244s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1244s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1244s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1244s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1244s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1244s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1244s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1244s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1244s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1244s # #endif /* !G_ENABLE_DEBUG */ 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusArgInfo parent_struct; 1244s # gboolean use_gvariant; 1244s # } _ExtendedGDBusArgInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusMethodInfo parent_struct; 1244s # const gchar *signal_name; 1244s # gboolean pass_fdlist; 1244s # } _ExtendedGDBusMethodInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusSignalInfo parent_struct; 1244s # const gchar *signal_name; 1244s # } _ExtendedGDBusSignalInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusPropertyInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # guint use_gvariant : 1; 1244s # guint emits_changed_signal : 1; 1244s # } _ExtendedGDBusPropertyInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # GDBusInterfaceInfo parent_struct; 1244s # const gchar *hyphen_name; 1244s # } _ExtendedGDBusInterfaceInfo; 1244s # 1244s # typedef struct 1244s # { 1244s # const _ExtendedGDBusPropertyInfo *info; 1244s # guint prop_id; 1244s # GValue orig_value; /* the value before the change */ 1244s # } ChangedProperty; 1244s # 1244s # static void 1244s # _changed_property_free (ChangedProperty *data) 1244s # { 1244s # g_value_unset (&data->orig_value); 1244s # g_free (data); 1244s # } 1244s # 1244s # static gboolean 1244s # _g_strv_equal0 (gchar **a, gchar **b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # guint n; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # if (g_strv_length (a) != g_strv_length (b)) 1244s # goto out; 1244s # for (n = 0; a[n] != NULL; n++) 1244s # if (g_strcmp0 (a[n], b[n]) != 0) 1244s # goto out; 1244s # ret = TRUE; 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # static gboolean 1244s # _g_variant_equal0 (GVariant *a, GVariant *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # if (a == NULL && b == NULL) 1244s # { 1244s # ret = TRUE; 1244s # goto out; 1244s # } 1244s # if (a == NULL || b == NULL) 1244s # goto out; 1244s # ret = g_variant_equal (a, b); 1244s # out: 1244s # return ret; 1244s # } 1244s # 1244s # G_GNUC_UNUSED static gboolean 1244s # _g_value_equal (const GValue *a, const GValue *b) 1244s # { 1244s # gboolean ret = FALSE; 1244s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1244s # switch (G_VALUE_TYPE (a)) 1244s # { 1244s # case G_TYPE_BOOLEAN: 1244s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1244s # break; 1244s # case G_TYPE_UCHAR: 1244s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1244s # break; 1244s # case G_TYPE_INT: 1244s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1244s # break; 1244s # case G_TYPE_UINT: 1244s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1244s # break; 1244s # case G_TYPE_INT64: 1244s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1244s # break; 1244s # case G_TYPE_UINT64: 1244s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1244s # break; 1244s # case G_TYPE_DOUBLE: 1244s # { 1244s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1244s # gdouble da = g_value_get_double (a); 1244s # gdouble db = g_value_get_double (b); 1244s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1244s # } 1244s # break; 1244s # case G_TYPE_STRING: 1244s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1244s # break; 1244s # case G_TYPE_VARIANT: 1244s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1244s # break; 1244s # default: 1244s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1244s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1244s # else 1244s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1244s # break; 1244s # } 1244s # return ret; 1244s # } 1244s # 1244s # static void 1244s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1244s # GClosure *closure, 1244s # GValue *return_value, 1244s # unsigned int n_param_values, 1244s # const GValue *param_values, 1244s # void *invocation_hint G_GNUC_UNUSED, 1244s # void *marshal_data) 1244s # { 1244s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1244s # (void *data1, 1244s # GDBusMethodInvocation *arg_method_invocation, 1244s # const gchar *arg_arg_o, 1244s # void *data2); 1244s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1244s # GCClosure *cc = (GCClosure*) closure; 1244s # void *data1, *data2; 1244s # gboolean v_return; 1244s # 1244s # g_return_if_fail (return_value != NULL); 1244s # g_return_if_fail (n_param_values == 3); 1244s # 1244s # if (G_CCLOSURE_SWAP_DATA (closure)) 1244s # { 1244s # data1 = closure->data; 1244s # data2 = g_value_peek_pointer (param_values + 0); 1244s # } 1244s # else 1244s # { 1244s # data1 = g_value_peek_pointer (param_values + 0); 1244s # data2 = closure->data; 1244s # } 1244s # 1244s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1244s # (marshal_data ? marshal_data : cc->callback); 1244s # 1244s # v_return = 1244s # callback (data1, 1244s # g_marshal_value_peek_object (param_values + 1), 1244s # g_marshal_value_peek_string (param_values + 2), 1244s # data2); 1244s # 1244s # g_value_set_boolean (return_value, v_return); 1244s # } 1244s # 1244s # /* ------------------------------------------------------------------------ 1244s # * Code for interface org.project.UsefulInterface 1244s # * ------------------------------------------------------------------------ 1244s # */ 1244s # 1244s # /** 1244s # * SECTION:OrgProjectUsefulInterface 1244s # * @title: OrgProjectUsefulInterface 1244s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1244s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_o", 1245s # (gchar *) "o", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodO", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-o", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_o: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-o", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_o, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_o: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_o: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_o ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *arg_arg_o, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodO", 1245s # g_variant_new ("(o)", 1245s # arg_arg_o), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_o_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_o_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_o_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_o: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_o_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *arg_arg_o, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodO", 1245s # g_variant_new ("(o)", 1245s # arg_arg_o), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_o: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_o ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmpqz2chefy.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpqz2chefy.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # const gchar *arg_arg_g, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_string (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_g", 1245s # (gchar *) "g", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodG", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-g", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_g: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-g", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_g, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_g: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_g: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_g ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *arg_arg_g, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodG", 1245s # g_variant_new ("(g)", 1245s # arg_arg_g), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_g_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_g_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_g_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_g: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_g_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *arg_arg_g, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodG", 1245s # g_variant_new ("(g)", 1245s # arg_arg_g), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_g: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_g ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmpyni_hrfr.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpyni_hrfr.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # GVariant *arg_arg_h, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_variant (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_h", 1245s # (gchar *) "h", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodH", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-h", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_h: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-h", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_h, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_h: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_h: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_h ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GVariant *arg_arg_h, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodH", 1245s # g_variant_new ("(@h)", 1245s # arg_arg_h), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_h_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_h_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_h_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_h: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_h_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GVariant *arg_arg_h, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodH", 1245s # g_variant_new ("(@h)", 1245s # arg_arg_h), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_h: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_h ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmpag9s870v.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpag9s870v.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # const gchar *arg_arg_ay, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_string (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_ay", 1245s # (gchar *) "ay", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodAy", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-ay", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_ay: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-ay", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_ay: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_ay: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_ay ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *arg_arg_ay, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAy", 1245s # g_variant_new ("(^ay)", 1245s # arg_arg_ay), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_ay: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *arg_arg_ay, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAy", 1245s # g_variant_new ("(^ay)", 1245s # arg_arg_ay), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_ay: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_ay ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmped_lksq7.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmped_lksq7.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # const gchar *const *arg_arg_as, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_boxed (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_as", 1245s # (gchar *) "as", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodAs", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-as", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_as: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-as", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_as, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_as: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_as: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_as ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *const *arg_arg_as, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAs", 1245s # g_variant_new ("(^as)", 1245s # arg_arg_as), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_as_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_as_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_as_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_as: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_as_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *const *arg_arg_as, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAs", 1245s # g_variant_new ("(^as)", 1245s # arg_arg_as), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_as: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_as ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmp_lw3vxbc.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmp_lw3vxbc.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # const gchar *const *arg_arg_ao, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_boxed (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_ao", 1245s # (gchar *) "ao", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodAo", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-ao", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_ao: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-ao", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_ao: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_ao: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_ao ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *const *arg_arg_ao, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAo", 1245s # g_variant_new ("(^ao)", 1245s # arg_arg_ao), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_ao: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *const *arg_arg_ao, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAo", 1245s # g_variant_new ("(^ao)", 1245s # arg_arg_ao), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_ao: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_ao ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmpx_v5u02f.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpx_v5u02f.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # const gchar *const *arg_arg_aay, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_boxed (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_aay", 1245s # (gchar *) "aay", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodAay", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-aay", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_aay: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-aay", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_aay: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_aay: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_aay ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *const *arg_arg_aay, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAay", 1245s # g_variant_new ("(^aay)", 1245s # arg_arg_aay), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_aay: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # const gchar *const *arg_arg_aay, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAay", 1245s # g_variant_new ("(^aay)", 1245s # arg_arg_aay), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_aay: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_aay ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpt8dkjhuv/tmpqaagdxxi.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8dkjhuv/tmpqaagdxxi.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # GVariant *arg_arg_asv, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 3); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # g_marshal_value_peek_variant (param_values + 2), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_asv", 1245s # (gchar *) "a{sv}", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodAsv", 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-asv", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * @arg_arg_asv: Argument passed by remote caller. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-asv", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1245s # G_TYPE_BOOLEAN, 1245s # 2, 1245s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_asv: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_asv: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_asv ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GVariant *arg_arg_asv, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAsv", 1245s # g_variant_new ("(@a{sv})", 1245s # arg_arg_asv), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @arg_arg_asv: Argument to pass with the method invocation. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GVariant *arg_arg_asv, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodAsv", 1245s # g_variant_new ("(@a{sv})", 1245s # arg_arg_asv), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "()"); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_asv: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_asv ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("()")); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1245s # tmpdir: /tmp/tmpumgi3_vm 1245s # codegen: /usr/bin/gdbus-codegen 1245s # /tmp/tmpumgi3_vm/tmpoe8gx4cb.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpoe8gx4cb.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 2); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_b", 1245s # (gchar *) "b", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodB", 1245s # NULL, 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-b", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-b", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_b, 1245s # G_TYPE_BOOLEAN, 1245s # 1, 1245s # G_TYPE_DBUS_METHOD_INVOCATION); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_b: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_b ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodB", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_b_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_b_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # gboolean *out_arg_b, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(b)", 1245s # out_arg_b); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_b_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_b_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # gboolean *out_arg_b, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodB", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(b)", 1245s # out_arg_b); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_b: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * @arg_b: Parameter to return. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_b ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation, 1245s # gboolean arg_b) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("(b)", 1245s # arg_b)); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpumgi3_vm/tmptxo8wrbc.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmptxo8wrbc.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 2); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_y", 1245s # (gchar *) "y", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodY", 1245s # NULL, 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-y", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-y", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_y, 1245s # G_TYPE_BOOLEAN, 1245s # 1, 1245s # G_TYPE_DBUS_METHOD_INVOCATION); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_y: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_y ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodY", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_y_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_y_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # guchar *out_arg_y, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(y)", 1245s # out_arg_y); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_y_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_y_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # guchar *out_arg_y, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodY", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(y)", 1245s # out_arg_y); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_y: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * @arg_y: Parameter to return. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_y ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation, 1245s # guchar arg_y) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("(y)", 1245s # arg_y)); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpumgi3_vm/tmpk7zv2vft.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpk7zv2vft.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 2); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_n", 1245s # (gchar *) "n", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodN", 1245s # NULL, 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-n", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-n", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_n, 1245s # G_TYPE_BOOLEAN, 1245s # 1, 1245s # G_TYPE_DBUS_METHOD_INVOCATION); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_n: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_n ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodN", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_n_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_n_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # gint16 *out_arg_n, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(n)", 1245s # out_arg_n); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_n_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_n_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # gint16 *out_arg_n, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodN", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(n)", 1245s # out_arg_n); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_n: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * @arg_n: Parameter to return. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_n ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation, 1245s # gint16 arg_n) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("(n)", 1245s # arg_n)); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpumgi3_vm/tmphte3zqgh.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmphte3zqgh.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1245s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1245s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1245s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1245s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1245s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1245s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1245s # #else /* !G_ENABLE_DEBUG */ 1245s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1245s # * Do not access GValues directly in your code. Instead, use the 1245s # * g_value_get_*() functions 1245s # */ 1245s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1245s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1245s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1245s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1245s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1245s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1245s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1245s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1245s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1245s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1245s # #endif /* !G_ENABLE_DEBUG */ 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusArgInfo parent_struct; 1245s # gboolean use_gvariant; 1245s # } _ExtendedGDBusArgInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusMethodInfo parent_struct; 1245s # const gchar *signal_name; 1245s # gboolean pass_fdlist; 1245s # } _ExtendedGDBusMethodInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusSignalInfo parent_struct; 1245s # const gchar *signal_name; 1245s # } _ExtendedGDBusSignalInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusPropertyInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # guint use_gvariant : 1; 1245s # guint emits_changed_signal : 1; 1245s # } _ExtendedGDBusPropertyInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # GDBusInterfaceInfo parent_struct; 1245s # const gchar *hyphen_name; 1245s # } _ExtendedGDBusInterfaceInfo; 1245s # 1245s # typedef struct 1245s # { 1245s # const _ExtendedGDBusPropertyInfo *info; 1245s # guint prop_id; 1245s # GValue orig_value; /* the value before the change */ 1245s # } ChangedProperty; 1245s # 1245s # static void 1245s # _changed_property_free (ChangedProperty *data) 1245s # { 1245s # g_value_unset (&data->orig_value); 1245s # g_free (data); 1245s # } 1245s # 1245s # static gboolean 1245s # _g_strv_equal0 (gchar **a, gchar **b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # guint n; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # if (g_strv_length (a) != g_strv_length (b)) 1245s # goto out; 1245s # for (n = 0; a[n] != NULL; n++) 1245s # if (g_strcmp0 (a[n], b[n]) != 0) 1245s # goto out; 1245s # ret = TRUE; 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _g_variant_equal0 (GVariant *a, GVariant *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # if (a == NULL && b == NULL) 1245s # { 1245s # ret = TRUE; 1245s # goto out; 1245s # } 1245s # if (a == NULL || b == NULL) 1245s # goto out; 1245s # ret = g_variant_equal (a, b); 1245s # out: 1245s # return ret; 1245s # } 1245s # 1245s # G_GNUC_UNUSED static gboolean 1245s # _g_value_equal (const GValue *a, const GValue *b) 1245s # { 1245s # gboolean ret = FALSE; 1245s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1245s # switch (G_VALUE_TYPE (a)) 1245s # { 1245s # case G_TYPE_BOOLEAN: 1245s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1245s # break; 1245s # case G_TYPE_UCHAR: 1245s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1245s # break; 1245s # case G_TYPE_INT: 1245s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1245s # break; 1245s # case G_TYPE_UINT: 1245s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1245s # break; 1245s # case G_TYPE_INT64: 1245s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1245s # break; 1245s # case G_TYPE_UINT64: 1245s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1245s # break; 1245s # case G_TYPE_DOUBLE: 1245s # { 1245s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1245s # gdouble da = g_value_get_double (a); 1245s # gdouble db = g_value_get_double (b); 1245s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1245s # } 1245s # break; 1245s # case G_TYPE_STRING: 1245s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1245s # break; 1245s # case G_TYPE_VARIANT: 1245s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1245s # break; 1245s # default: 1245s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1245s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1245s # else 1245s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1245s # break; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static void 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint G_GNUC_UNUSED, 1245s # void *marshal_data) 1245s # { 1245s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (void *data1, 1245s # GDBusMethodInvocation *arg_method_invocation, 1245s # void *data2); 1245s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1245s # GCClosure *cc = (GCClosure*) closure; 1245s # void *data1, *data2; 1245s # gboolean v_return; 1245s # 1245s # g_return_if_fail (return_value != NULL); 1245s # g_return_if_fail (n_param_values == 2); 1245s # 1245s # if (G_CCLOSURE_SWAP_DATA (closure)) 1245s # { 1245s # data1 = closure->data; 1245s # data2 = g_value_peek_pointer (param_values + 0); 1245s # } 1245s # else 1245s # { 1245s # data1 = g_value_peek_pointer (param_values + 0); 1245s # data2 = closure->data; 1245s # } 1245s # 1245s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1245s # (marshal_data ? marshal_data : cc->callback); 1245s # 1245s # v_return = 1245s # callback (data1, 1245s # g_marshal_value_peek_object (param_values + 1), 1245s # data2); 1245s # 1245s # g_value_set_boolean (return_value, v_return); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ 1245s # * Code for interface org.project.UsefulInterface 1245s # * ------------------------------------------------------------------------ 1245s # */ 1245s # 1245s # /** 1245s # * SECTION:OrgProjectUsefulInterface 1245s # * @title: OrgProjectUsefulInterface 1245s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1245s # * 1245s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1245s # */ 1245s # 1245s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1245s # 1245s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "arg_q", 1245s # (gchar *) "q", 1245s # NULL 1245s # }, 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "SingleArgMethodQ", 1245s # NULL, 1245s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1245s # NULL 1245s # }, 1245s # "handle-single-arg-method-q", 1245s # FALSE 1245s # }; 1245s # 1245s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1245s # { 1245s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1245s # NULL 1245s # }; 1245s # 1245s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1245s # { 1245s # { 1245s # -1, 1245s # (gchar *) "org.project.UsefulInterface", 1245s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1245s # NULL, 1245s # NULL, 1245s # NULL 1245s # }, 1245s # "org-project-useful-interface", 1245s # }; 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_interface_info: 1245s # * 1245s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1245s # * 1245s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1245s # */ 1245s # GDBusInterfaceInfo * 1245s # org_project_useful_interface_interface_info (void) 1245s # { 1245s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_override_properties: 1245s # * @klass: The class structure for a #GObject derived class. 1245s # * @property_id_begin: The property id to assign to the first overridden property. 1245s # * 1245s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1245s # * The properties are overridden in the order they are defined. 1245s # * 1245s # * Returns: The last property id. 1245s # */ 1245s # guint 1245s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1245s # { 1245s # return property_id_begin - 1; 1245s # } 1245s # 1245s # 1245s # inline static void 1245s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1245s # GClosure *closure, 1245s # GValue *return_value, 1245s # unsigned int n_param_values, 1245s # const GValue *param_values, 1245s # void *invocation_hint, 1245s # void *marshal_data) 1245s # { 1245s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1245s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1245s # } 1245s # 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterface: 1245s # * 1245s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceIface: 1245s # * @parent_iface: The parent interface. 1245s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1245s # * 1245s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1245s # */ 1245s # 1245s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1245s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1245s # 1245s # static void 1245s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1245s # { 1245s # /* GObject signals for incoming D-Bus method calls: */ 1245s # /** 1245s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: A #GDBusMethodInvocation. 1245s # * 1245s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1245s # * 1245s # * 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. 1245s # * 1245s # * 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. 1245s # */ 1245s # g_signal_new ("handle-single-arg-method-q", 1245s # G_TYPE_FROM_INTERFACE (iface), 1245s # G_SIGNAL_RUN_LAST, 1245s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1245s # g_signal_accumulator_true_handled, 1245s # NULL, 1245s # org_project_useful_interface_method_marshal_single_arg_method_q, 1245s # G_TYPE_BOOLEAN, 1245s # 1, 1245s # G_TYPE_DBUS_METHOD_INVOCATION); 1245s # 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_q: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1245s # */ 1245s # void 1245s # org_project_useful_interface_call_single_arg_method_q ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodQ", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # callback, 1245s # user_data); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_q_finish: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_q_finish ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # guint16 *out_arg_q, 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(q)", 1245s # out_arg_q); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_call_single_arg_method_q_sync: 1245s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1245s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL. 1245s # * 1245s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1245s # * 1245s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1245s # */ 1245s # gboolean 1245s # org_project_useful_interface_call_single_arg_method_q_sync ( 1245s # OrgProjectUsefulInterface *proxy, 1245s # guint16 *out_arg_q, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GVariant *_ret; 1245s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1245s # "SingleArgMethodQ", 1245s # g_variant_new ("()"), 1245s # G_DBUS_CALL_FLAGS_NONE, 1245s # -1, 1245s # cancellable, 1245s # error); 1245s # if (_ret == NULL) 1245s # goto _out; 1245s # g_variant_get (_ret, 1245s # "(q)", 1245s # out_arg_q); 1245s # g_variant_unref (_ret); 1245s # _out: 1245s # return _ret != NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_complete_single_arg_method_q: 1245s # * @object: A #OrgProjectUsefulInterface. 1245s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1245s # * @arg_q: Parameter to return. 1245s # * 1245s # * 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. 1245s # * 1245s # * This method will free @invocation, you cannot use it afterwards. 1245s # */ 1245s # void 1245s # org_project_useful_interface_complete_single_arg_method_q ( 1245s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1245s # GDBusMethodInvocation *invocation, 1245s # guint16 arg_q) 1245s # { 1245s # g_dbus_method_invocation_return_value (invocation, 1245s # g_variant_new ("(q)", 1245s # arg_q)); 1245s # } 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxy: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceProxyClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceProxyPrivate 1245s # { 1245s # GData *qdata; 1245s # }; 1245s # 1245s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_proxy_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1245s # g_datalist_clear (&proxy->priv->qdata); 1245s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1245s # guint prop_id G_GNUC_UNUSED, 1245s # const GValue *value G_GNUC_UNUSED, 1245s # GParamSpec *pspec G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1245s # const gchar *sender_name G_GNUC_UNUSED, 1245s # const gchar *signal_name, 1245s # GVariant *parameters) 1245s # { 1245s # _ExtendedGDBusSignalInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # gsize n; 1245s # guint signal_id; 1245s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1245s # if (info == NULL) 1245s # return; 1245s # num_params = g_variant_n_children (parameters); 1245s # paramv = g_new0 (GValue, num_params + 1); 1245s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[0], proxy); 1245s # g_variant_iter_init (&iter, parameters); 1245s # n = 1; 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_signal_emitv (paramv, signal_id, 0, NULL); 1245s # for (n = 0; n < num_params + 1; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1245s # GVariant *changed_properties, 1245s # const gchar *const *invalidated_properties) 1245s # { 1245s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1245s # guint n; 1245s # const gchar *key; 1245s # GVariantIter *iter; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # g_variant_get (changed_properties, "a{sv}", &iter); 1245s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1245s # g_datalist_remove_data (&proxy->priv->qdata, key); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # g_variant_iter_free (iter); 1245s # for (n = 0; invalidated_properties[n] != NULL; n++) 1245s # { 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1245s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1245s # if (info != NULL) 1245s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1245s # } 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1245s # #else 1245s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1245s # #endif 1245s # 1245s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusProxyClass *proxy_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1245s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1245s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1245s # 1245s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1245s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1245s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_sync: 1245s # * @connection: A #GDBusConnection. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_sync ( 1245s # GDBusConnection *connection, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1245s # * @user_data: User data to pass to @callback. 1245s # * 1245s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1245s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1245s # */ 1245s # void 1245s # org_project_useful_interface_proxy_new_for_bus ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GAsyncReadyCallback callback, 1245s # gpointer user_data) 1245s # { 1245s # g_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); 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_finish: 1245s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_finish ( 1245s # GAsyncResult *res, 1245s # GError **error) 1245s # { 1245s # GObject *ret; 1245s # GObject *source_object; 1245s # source_object = g_async_result_get_source_object (res); 1245s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1245s # g_object_unref (source_object); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_proxy_new_for_bus_sync: 1245s # * @bus_type: A #GBusType. 1245s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1245s # * @name: A bus name (well-known or unique). 1245s # * @object_path: An object path. 1245s # * @cancellable: (nullable): A #GCancellable or %NULL. 1245s # * @error: Return location for error or %NULL 1245s # * 1245s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1245s # * 1245s # * The calling thread is blocked until a reply is received. 1245s # * 1245s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_proxy_new_for_bus_sync ( 1245s # GBusType bus_type, 1245s # GDBusProxyFlags flags, 1245s # const gchar *name, 1245s # const gchar *object_path, 1245s # GCancellable *cancellable, 1245s # GError **error) 1245s # { 1245s # GInitable *ret; 1245s # 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); 1245s # if (ret != NULL) 1245s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1245s # else 1245s # return NULL; 1245s # } 1245s # 1245s # 1245s # /* ------------------------------------------------------------------------ */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeleton: 1245s # * 1245s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1245s # */ 1245s # 1245s # /** 1245s # * OrgProjectUsefulInterfaceSkeletonClass: 1245s # * @parent_class: The parent class. 1245s # * 1245s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1245s # */ 1245s # 1245s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1245s # { 1245s # GValue *properties; 1245s # GList *changed_properties; 1245s # GSource *changed_properties_idle_source; 1245s # GMainContext *context; 1245s # GMutex lock; 1245s # }; 1245s # 1245s # static void 1245s # _org_project_useful_interface_skeleton_handle_method_call ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name, 1245s # const gchar *method_name, 1245s # GVariant *parameters, 1245s # GDBusMethodInvocation *invocation, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # _ExtendedGDBusMethodInfo *info; 1245s # GVariantIter iter; 1245s # GVariant *child; 1245s # GValue *paramv; 1245s # gsize num_params; 1245s # guint num_extra; 1245s # gsize n; 1245s # guint signal_id; 1245s # GValue return_value = G_VALUE_INIT; 1245s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1245s # g_assert (info != NULL); 1245s # num_params = g_variant_n_children (parameters); 1245s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1245s # n = 0; 1245s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_set_object (¶mv[n++], skeleton); 1245s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1245s # g_value_set_object (¶mv[n++], invocation); 1245s # if (info->pass_fdlist) 1245s # { 1245s # #ifdef G_OS_UNIX 1245s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1245s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1245s # #else 1245s # g_assert_not_reached (); 1245s # #endif 1245s # } 1245s # g_variant_iter_init (&iter, parameters); 1245s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1245s # { 1245s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1245s # if (arg_info->use_gvariant) 1245s # { 1245s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1245s # g_value_set_variant (¶mv[n], child); 1245s # n++; 1245s # } 1245s # else 1245s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1245s # g_variant_unref (child); 1245s # } 1245s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1245s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1245s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1245s # if (!g_value_get_boolean (&return_value)) 1245s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1245s # g_value_unset (&return_value); 1245s # for (n = 0; n < num_params + num_extra; n++) 1245s # g_value_unset (¶mv[n]); 1245s # g_free (paramv); 1245s # } 1245s # 1245s # static GVariant * 1245s # _org_project_useful_interface_skeleton_handle_get_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # GVariant *ret; 1245s # ret = NULL; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # g_value_init (&value, pspec->value_type); 1245s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1245s # g_value_unset (&value); 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static gboolean 1245s # _org_project_useful_interface_skeleton_handle_set_property ( 1245s # GDBusConnection *connection G_GNUC_UNUSED, 1245s # const gchar *sender G_GNUC_UNUSED, 1245s # const gchar *object_path G_GNUC_UNUSED, 1245s # const gchar *interface_name G_GNUC_UNUSED, 1245s # const gchar *property_name, 1245s # GVariant *variant, 1245s # GError **error, 1245s # gpointer user_data) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1245s # GValue value = G_VALUE_INIT; 1245s # GParamSpec *pspec; 1245s # _ExtendedGDBusPropertyInfo *info; 1245s # gboolean ret; 1245s # ret = FALSE; 1245s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1245s # g_assert (info != NULL); 1245s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1245s # if (pspec == NULL) 1245s # { 1245s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1245s # } 1245s # else 1245s # { 1245s # if (info->use_gvariant) 1245s # g_value_set_variant (&value, variant); 1245s # else 1245s # g_dbus_gvariant_to_gvalue (variant, &value); 1245s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1245s # g_value_unset (&value); 1245s # ret = TRUE; 1245s # } 1245s # return ret; 1245s # } 1245s # 1245s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1245s # { 1245s # _org_project_useful_interface_skeleton_handle_method_call, 1245s # _org_project_useful_interface_skeleton_handle_get_property, 1245s # _org_project_useful_interface_skeleton_handle_set_property, 1245s # {NULL} 1245s # }; 1245s # 1245s # static GDBusInterfaceInfo * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return org_project_useful_interface_interface_info (); 1245s # } 1245s # 1245s # static GDBusInterfaceVTable * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1245s # { 1245s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1245s # } 1245s # 1245s # static GVariant * 1245s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1245s # 1245s # GVariantBuilder builder; 1245s # guint n; 1245s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1245s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1245s # goto out; 1245s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1245s # { 1245s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1245s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1245s # { 1245s # GVariant *value; 1245s # 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); 1245s # if (value != NULL) 1245s # { 1245s # g_variant_take_ref (value); 1245s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1245s # g_variant_unref (value); 1245s # } 1245s # } 1245s # } 1245s # out: 1245s # return g_variant_builder_end (&builder); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #else 1245s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1245s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1245s # 1245s # #endif 1245s # static void 1245s # org_project_useful_interface_skeleton_finalize (GObject *object) 1245s # { 1245s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1245s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1245s # if (skeleton->priv->changed_properties_idle_source != NULL) 1245s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1245s # g_main_context_unref (skeleton->priv->context); 1245s # g_mutex_clear (&skeleton->priv->lock); 1245s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1245s # { 1245s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1245s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1245s # #else 1245s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1245s # #endif 1245s # 1245s # g_mutex_init (&skeleton->priv->lock); 1245s # skeleton->priv->context = g_main_context_ref_thread_default (); 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1245s # { 1245s # GObjectClass *gobject_class; 1245s # GDBusInterfaceSkeletonClass *skeleton_class; 1245s # 1245s # gobject_class = G_OBJECT_CLASS (klass); 1245s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1245s # 1245s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1245s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1245s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1245s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1245s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1245s # 1245s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1245s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1245s # #endif 1245s # } 1245s # 1245s # static void 1245s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1245s # { 1245s # } 1245s # 1245s # /** 1245s # * org_project_useful_interface_skeleton_new: 1245s # * 1245s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1245s # * 1245s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1245s # */ 1245s # OrgProjectUsefulInterface * 1245s # org_project_useful_interface_skeleton_new (void) 1245s # { 1245s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1245s # } 1245s # /tmp/tmpumgi3_vm/tmp1j27d19z.xml: 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # 1245s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmp1j27d19z.xml', '--output', '-', '--body'] 1245s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1245s # Output: /* 1245s # * This file is generated by gdbus-codegen, do not modify it. 1245s # * 1245s # * The license of this code is the same as for the D-Bus interface description 1245s # * it was derived from. Note that it links to GLib, so must comply with the 1245s # * LGPL linking clauses. 1245s # */ 1245s # 1245s # #ifdef HAVE_CONFIG_H 1245s # # include "config.h" 1245s # #endif 1245s # 1245s # #include 1245s # #ifdef G_OS_UNIX 1245s # # include 1245s # #endif 1245s # 1245s # #ifdef G_ENABLE_DEBUG 1245s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1245s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1245s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1245s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1245s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1245s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1245s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1245s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1245s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1245s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1245s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1245s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1245s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_i", 1246s # (gchar *) "i", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodI", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-i", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-i", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_i, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_i: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_i ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodI", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_i_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_i_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gint *out_arg_i, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(i)", 1246s # out_arg_i); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_i_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_i_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gint *out_arg_i, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodI", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(i)", 1246s # out_arg_i); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_i: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_i: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_i ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # gint arg_i) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(i)", 1246s # arg_i)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpffoisog4.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpffoisog4.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_u", 1246s # (gchar *) "u", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodU", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-u", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-u", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_u, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_u: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_u ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodU", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_u_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_u_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # guint *out_arg_u, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(u)", 1246s # out_arg_u); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_u_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_u_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # guint *out_arg_u, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodU", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(u)", 1246s # out_arg_u); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_u: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_u: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_u ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # guint arg_u) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(u)", 1246s # arg_u)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpa4ghr6_7.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpa4ghr6_7.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_x", 1246s # (gchar *) "x", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodX", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-x", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-x", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_x, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_x: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_x ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodX", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_x_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_x_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gint64 *out_arg_x, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(x)", 1246s # out_arg_x); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_x_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_x_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gint64 *out_arg_x, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodX", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(x)", 1246s # out_arg_x); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_x: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_x: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_x ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # gint64 arg_x) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(x)", 1246s # arg_x)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpm80wyzze.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpm80wyzze.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_t", 1246s # (gchar *) "t", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodT", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-t", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-t", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_t, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_t: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_t ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodT", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_t_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_t_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # guint64 *out_arg_t, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(t)", 1246s # out_arg_t); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_t_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_t_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # guint64 *out_arg_t, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodT", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(t)", 1246s # out_arg_t); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_t: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_t: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_t ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # guint64 arg_t) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(t)", 1246s # arg_t)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpdq0mkt76.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpdq0mkt76.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_d", 1246s # (gchar *) "d", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodD", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-d", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-d", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_d, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_d: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_d ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodD", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_d_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_d_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gdouble *out_arg_d, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(d)", 1246s # out_arg_d); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_d_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_d_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gdouble *out_arg_d, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodD", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(d)", 1246s # out_arg_d); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_d: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_d: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_d ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # gdouble arg_d) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(d)", 1246s # arg_d)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpjvut1ul1.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpjvut1ul1.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_s", 1246s # (gchar *) "s", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodS", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-s", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-s", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_s, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_s: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_s ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodS", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_s_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_s_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_s, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(s)", 1246s # out_arg_s); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_s_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_s_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_s, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodS", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(s)", 1246s # out_arg_s); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_s: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_s: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_s ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *arg_s) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(s)", 1246s # arg_s)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpqsbnx828.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpqsbnx828.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_o", 1246s # (gchar *) "o", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodO", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-o", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-o", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_o, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_o: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_o ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodO", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_o_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_o_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_o, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(o)", 1246s # out_arg_o); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_o_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_o_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_o, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodO", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(o)", 1246s # out_arg_o); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_o: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_o: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_o ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *arg_o) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(o)", 1246s # arg_o)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpbfjz82p6.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpbfjz82p6.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_g", 1246s # (gchar *) "g", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodG", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-g", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-g", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_g, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_g: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_g ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodG", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_g_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_g_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_g, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(g)", 1246s # out_arg_g); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_g_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_g_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_g, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodG", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(g)", 1246s # out_arg_g); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_g: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_g: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_g ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *arg_g) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(g)", 1246s # arg_g)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpovnx6p9l.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpovnx6p9l.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_h", 1246s # (gchar *) "h", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodH", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-h", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-h", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_h, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_h: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_h ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodH", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_h_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_h_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GVariant **out_arg_h, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(@h)", 1246s # out_arg_h); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_h_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_h_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GVariant **out_arg_h, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodH", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(@h)", 1246s # out_arg_h); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_h: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_h: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_h ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # GVariant *arg_h) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(@h)", 1246s # arg_h)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmpjhrzknl7.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmpjhrzknl7.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_ay", 1246s # (gchar *) "ay", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodAy", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-ay", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-ay", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_ay: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_ay ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAy", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_ay, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^ay)", 1246s # out_arg_ay); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar **out_arg_ay, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAy", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^ay)", 1246s # out_arg_ay); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_ay: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_ay: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_ay ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *arg_ay) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(^ay)", 1246s # arg_ay)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmp7letol07.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmp7letol07.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_as", 1246s # (gchar *) "as", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodAs", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-as", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-as", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_as, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_as: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_as ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAs", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_as_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_as_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar ***out_arg_as, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^as)", 1246s # out_arg_as); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_as_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_as_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar ***out_arg_as, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAs", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^as)", 1246s # out_arg_as); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_as: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_as: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_as ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *const *arg_as) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(^as)", 1246s # arg_as)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmp6jztfee6.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmp6jztfee6.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_ao", 1246s # (gchar *) "ao", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodAo", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-ao", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-ao", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_ao: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_ao ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAo", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar ***out_arg_ao, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^ao)", 1246s # out_arg_ao); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar ***out_arg_ao, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAo", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^ao)", 1246s # out_arg_ao); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_ao: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_ao: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_ao ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *const *arg_ao) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(^ao)", 1246s # arg_ao)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmp9zxnkssy.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmp9zxnkssy.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_aay", 1246s # (gchar *) "aay", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodAay", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-aay", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-aay", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_aay: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_aay ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAay", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar ***out_arg_aay, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^aay)", 1246s # out_arg_aay); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # gchar ***out_arg_aay, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAay", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(^aay)", 1246s # out_arg_aay); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_aay: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_aay: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_aay ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # const gchar *const *arg_aay) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(^aay)", 1246s # arg_aay)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s # /tmp/tmpumgi3_vm/tmprqmashz7.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpumgi3_vm/tmprqmashz7.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 2); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.UsefulInterface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectUsefulInterface 1246s # * @title: OrgProjectUsefulInterface 1246s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "arg_asv", 1246s # (gchar *) "a{sv}", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SingleArgMethodAsv", 1246s # NULL, 1246s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1246s # NULL 1246s # }, 1246s # "handle-single-arg-method-asv", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1246s # { 1246s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.UsefulInterface", 1246s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-useful-interface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_useful_interface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1246s # */ 1246s # 1246s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-single-arg-method-asv", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1246s # G_TYPE_BOOLEAN, 1246s # 1, 1246s # G_TYPE_DBUS_METHOD_INVOCATION); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_asv: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_useful_interface_call_single_arg_method_asv ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAsv", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GVariant **out_arg_asv, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(@a{sv})", 1246s # out_arg_asv); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1246s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1246s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1246s # OrgProjectUsefulInterface *proxy, 1246s # GVariant **out_arg_asv, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1246s # "SingleArgMethodAsv", 1246s # g_variant_new ("()"), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "(@a{sv})", 1246s # out_arg_asv); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_complete_single_arg_method_asv: 1246s # * @object: A #OrgProjectUsefulInterface. 1246s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1246s # * @arg_asv: Parameter to return. 1246s # * 1246s # * 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. 1246s # * 1246s # * This method will free @invocation, you cannot use it afterwards. 1246s # */ 1246s # void 1246s # org_project_useful_interface_complete_single_arg_method_asv ( 1246s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1246s # GDBusMethodInvocation *invocation, 1246s # GVariant *arg_asv) 1246s # { 1246s # g_dbus_method_invocation_return_value (invocation, 1246s # g_variant_new ("(@a{sv})", 1246s # arg_asv)); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxy: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceProxyClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceProxyPrivate 1246s # { 1246s # GData *qdata; 1246s # }; 1246s # 1246s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_proxy_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1246s # g_datalist_clear (&proxy->priv->qdata); 1246s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1246s # guint prop_id G_GNUC_UNUSED, 1246s # const GValue *value G_GNUC_UNUSED, 1246s # GParamSpec *pspec G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1246s # const gchar *sender_name G_GNUC_UNUSED, 1246s # const gchar *signal_name, 1246s # GVariant *parameters) 1246s # { 1246s # _ExtendedGDBusSignalInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # gsize n; 1246s # guint signal_id; 1246s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1246s # if (info == NULL) 1246s # return; 1246s # num_params = g_variant_n_children (parameters); 1246s # paramv = g_new0 (GValue, num_params + 1); 1246s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[0], proxy); 1246s # g_variant_iter_init (&iter, parameters); 1246s # n = 1; 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_signal_emitv (paramv, signal_id, 0, NULL); 1246s # for (n = 0; n < num_params + 1; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1246s # GVariant *changed_properties, 1246s # const gchar *const *invalidated_properties) 1246s # { 1246s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1246s # guint n; 1246s # const gchar *key; 1246s # GVariantIter *iter; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # g_variant_get (changed_properties, "a{sv}", &iter); 1246s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1246s # g_datalist_remove_data (&proxy->priv->qdata, key); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # g_variant_iter_free (iter); 1246s # for (n = 0; invalidated_properties[n] != NULL; n++) 1246s # { 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1246s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1246s # if (info != NULL) 1246s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1246s # } 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1246s # #else 1246s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1246s # #endif 1246s # 1246s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusProxyClass *proxy_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1246s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1246s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1246s # 1246s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1246s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1246s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_sync: 1246s # * @connection: A #GDBusConnection. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_sync ( 1246s # GDBusConnection *connection, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1246s # */ 1246s # void 1246s # org_project_useful_interface_proxy_new_for_bus ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_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); 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_finish: 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_finish ( 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GObject *ret; 1246s # GObject *source_object; 1246s # source_object = g_async_result_get_source_object (res); 1246s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1246s # g_object_unref (source_object); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_proxy_new_for_bus_sync: 1246s # * @bus_type: A #GBusType. 1246s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1246s # * @name: A bus name (well-known or unique). 1246s # * @object_path: An object path. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @error: Return location for error or %NULL 1246s # * 1246s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1246s # * 1246s # * The calling thread is blocked until a reply is received. 1246s # * 1246s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_proxy_new_for_bus_sync ( 1246s # GBusType bus_type, 1246s # GDBusProxyFlags flags, 1246s # const gchar *name, 1246s # const gchar *object_path, 1246s # GCancellable *cancellable, 1246s # GError **error) 1246s # { 1246s # GInitable *ret; 1246s # 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); 1246s # if (ret != NULL) 1246s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1246s # else 1246s # return NULL; 1246s # } 1246s # 1246s # 1246s # /* ------------------------------------------------------------------------ */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeleton: 1246s # * 1246s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectUsefulInterfaceSkeletonClass: 1246s # * @parent_class: The parent class. 1246s # * 1246s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1246s # */ 1246s # 1246s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1246s # { 1246s # GValue *properties; 1246s # GList *changed_properties; 1246s # GSource *changed_properties_idle_source; 1246s # GMainContext *context; 1246s # GMutex lock; 1246s # }; 1246s # 1246s # static void 1246s # _org_project_useful_interface_skeleton_handle_method_call ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name, 1246s # const gchar *method_name, 1246s # GVariant *parameters, 1246s # GDBusMethodInvocation *invocation, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # _ExtendedGDBusMethodInfo *info; 1246s # GVariantIter iter; 1246s # GVariant *child; 1246s # GValue *paramv; 1246s # gsize num_params; 1246s # guint num_extra; 1246s # gsize n; 1246s # guint signal_id; 1246s # GValue return_value = G_VALUE_INIT; 1246s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1246s # g_assert (info != NULL); 1246s # num_params = g_variant_n_children (parameters); 1246s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1246s # n = 0; 1246s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_set_object (¶mv[n++], skeleton); 1246s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1246s # g_value_set_object (¶mv[n++], invocation); 1246s # if (info->pass_fdlist) 1246s # { 1246s # #ifdef G_OS_UNIX 1246s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1246s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1246s # #else 1246s # g_assert_not_reached (); 1246s # #endif 1246s # } 1246s # g_variant_iter_init (&iter, parameters); 1246s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1246s # { 1246s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1246s # if (arg_info->use_gvariant) 1246s # { 1246s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1246s # g_value_set_variant (¶mv[n], child); 1246s # n++; 1246s # } 1246s # else 1246s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1246s # g_variant_unref (child); 1246s # } 1246s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1246s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1246s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1246s # if (!g_value_get_boolean (&return_value)) 1246s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1246s # g_value_unset (&return_value); 1246s # for (n = 0; n < num_params + num_extra; n++) 1246s # g_value_unset (¶mv[n]); 1246s # g_free (paramv); 1246s # } 1246s # 1246s # static GVariant * 1246s # _org_project_useful_interface_skeleton_handle_get_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # GVariant *ret; 1246s # ret = NULL; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # g_value_init (&value, pspec->value_type); 1246s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1246s # g_value_unset (&value); 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _org_project_useful_interface_skeleton_handle_set_property ( 1246s # GDBusConnection *connection G_GNUC_UNUSED, 1246s # const gchar *sender G_GNUC_UNUSED, 1246s # const gchar *object_path G_GNUC_UNUSED, 1246s # const gchar *interface_name G_GNUC_UNUSED, 1246s # const gchar *property_name, 1246s # GVariant *variant, 1246s # GError **error, 1246s # gpointer user_data) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1246s # GValue value = G_VALUE_INIT; 1246s # GParamSpec *pspec; 1246s # _ExtendedGDBusPropertyInfo *info; 1246s # gboolean ret; 1246s # ret = FALSE; 1246s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1246s # g_assert (info != NULL); 1246s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1246s # if (pspec == NULL) 1246s # { 1246s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1246s # } 1246s # else 1246s # { 1246s # if (info->use_gvariant) 1246s # g_value_set_variant (&value, variant); 1246s # else 1246s # g_dbus_gvariant_to_gvalue (variant, &value); 1246s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1246s # g_value_unset (&value); 1246s # ret = TRUE; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1246s # { 1246s # _org_project_useful_interface_skeleton_handle_method_call, 1246s # _org_project_useful_interface_skeleton_handle_get_property, 1246s # _org_project_useful_interface_skeleton_handle_set_property, 1246s # {NULL} 1246s # }; 1246s # 1246s # static GDBusInterfaceInfo * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return org_project_useful_interface_interface_info (); 1246s # } 1246s # 1246s # static GDBusInterfaceVTable * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1246s # { 1246s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1246s # } 1246s # 1246s # static GVariant * 1246s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1246s # 1246s # GVariantBuilder builder; 1246s # guint n; 1246s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1246s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1246s # goto out; 1246s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1246s # { 1246s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1246s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1246s # { 1246s # GVariant *value; 1246s # 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); 1246s # if (value != NULL) 1246s # { 1246s # g_variant_take_ref (value); 1246s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1246s # g_variant_unref (value); 1246s # } 1246s # } 1246s # } 1246s # out: 1246s # return g_variant_builder_end (&builder); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #else 1246s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1246s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1246s # 1246s # #endif 1246s # static void 1246s # org_project_useful_interface_skeleton_finalize (GObject *object) 1246s # { 1246s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1246s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1246s # if (skeleton->priv->changed_properties_idle_source != NULL) 1246s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1246s # g_main_context_unref (skeleton->priv->context); 1246s # g_mutex_clear (&skeleton->priv->lock); 1246s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1246s # { 1246s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1246s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1246s # #else 1246s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1246s # #endif 1246s # 1246s # g_mutex_init (&skeleton->priv->lock); 1246s # skeleton->priv->context = g_main_context_ref_thread_default (); 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1246s # { 1246s # GObjectClass *gobject_class; 1246s # GDBusInterfaceSkeletonClass *skeleton_class; 1246s # 1246s # gobject_class = G_OBJECT_CLASS (klass); 1246s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1246s # 1246s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1246s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1246s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1246s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1246s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1246s # 1246s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1246s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1246s # #endif 1246s # } 1246s # 1246s # static void 1246s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1246s # { 1246s # } 1246s # 1246s # /** 1246s # * org_project_useful_interface_skeleton_new: 1246s # * 1246s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1246s # * 1246s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1246s # */ 1246s # OrgProjectUsefulInterface * 1246s # org_project_useful_interface_skeleton_new (void) 1246s # { 1246s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1246s # } 1246s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1246s # tmpdir: /tmp/tmp_mv7wf9m 1246s # codegen: /usr/bin/gdbus-codegen 1246s # /tmp/tmp_mv7wf9m/tmp762tl64_.xml: 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # 1246s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_mv7wf9m/tmp762tl64_.xml', '--output', '-', '--body'] 1246s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1246s # Output: /* 1246s # * This file is generated by gdbus-codegen, do not modify it. 1246s # * 1246s # * The license of this code is the same as for the D-Bus interface description 1246s # * it was derived from. Note that it links to GLib, so must comply with the 1246s # * LGPL linking clauses. 1246s # */ 1246s # 1246s # #ifdef HAVE_CONFIG_H 1246s # # include "config.h" 1246s # #endif 1246s # 1246s # #include 1246s # #ifdef G_OS_UNIX 1246s # # include 1246s # #endif 1246s # 1246s # #ifdef G_ENABLE_DEBUG 1246s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1246s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1246s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1246s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1246s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1246s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1246s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1246s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1246s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1246s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1246s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1246s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1246s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1246s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1246s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1246s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1246s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1246s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1246s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1246s # #else /* !G_ENABLE_DEBUG */ 1246s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1246s # * Do not access GValues directly in your code. Instead, use the 1246s # * g_value_get_*() functions 1246s # */ 1246s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1246s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1246s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1246s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1246s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1246s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1246s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1246s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1246s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1246s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1246s # #endif /* !G_ENABLE_DEBUG */ 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusArgInfo parent_struct; 1246s # gboolean use_gvariant; 1246s # } _ExtendedGDBusArgInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusMethodInfo parent_struct; 1246s # const gchar *signal_name; 1246s # gboolean pass_fdlist; 1246s # } _ExtendedGDBusMethodInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusSignalInfo parent_struct; 1246s # const gchar *signal_name; 1246s # } _ExtendedGDBusSignalInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusPropertyInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # guint use_gvariant : 1; 1246s # guint emits_changed_signal : 1; 1246s # } _ExtendedGDBusPropertyInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # GDBusInterfaceInfo parent_struct; 1246s # const gchar *hyphen_name; 1246s # } _ExtendedGDBusInterfaceInfo; 1246s # 1246s # typedef struct 1246s # { 1246s # const _ExtendedGDBusPropertyInfo *info; 1246s # guint prop_id; 1246s # GValue orig_value; /* the value before the change */ 1246s # } ChangedProperty; 1246s # 1246s # static void 1246s # _changed_property_free (ChangedProperty *data) 1246s # { 1246s # g_value_unset (&data->orig_value); 1246s # g_free (data); 1246s # } 1246s # 1246s # static gboolean 1246s # _g_strv_equal0 (gchar **a, gchar **b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # guint n; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # if (g_strv_length (a) != g_strv_length (b)) 1246s # goto out; 1246s # for (n = 0; a[n] != NULL; n++) 1246s # if (g_strcmp0 (a[n], b[n]) != 0) 1246s # goto out; 1246s # ret = TRUE; 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # static gboolean 1246s # _g_variant_equal0 (GVariant *a, GVariant *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # if (a == NULL && b == NULL) 1246s # { 1246s # ret = TRUE; 1246s # goto out; 1246s # } 1246s # if (a == NULL || b == NULL) 1246s # goto out; 1246s # ret = g_variant_equal (a, b); 1246s # out: 1246s # return ret; 1246s # } 1246s # 1246s # G_GNUC_UNUSED static gboolean 1246s # _g_value_equal (const GValue *a, const GValue *b) 1246s # { 1246s # gboolean ret = FALSE; 1246s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1246s # switch (G_VALUE_TYPE (a)) 1246s # { 1246s # case G_TYPE_BOOLEAN: 1246s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1246s # break; 1246s # case G_TYPE_UCHAR: 1246s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1246s # break; 1246s # case G_TYPE_INT: 1246s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1246s # break; 1246s # case G_TYPE_UINT: 1246s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1246s # break; 1246s # case G_TYPE_INT64: 1246s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1246s # break; 1246s # case G_TYPE_UINT64: 1246s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1246s # break; 1246s # case G_TYPE_DOUBLE: 1246s # { 1246s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1246s # gdouble da = g_value_get_double (a); 1246s # gdouble db = g_value_get_double (b); 1246s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1246s # } 1246s # break; 1246s # case G_TYPE_STRING: 1246s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1246s # break; 1246s # case G_TYPE_VARIANT: 1246s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1246s # break; 1246s # default: 1246s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1246s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1246s # else 1246s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1246s # break; 1246s # } 1246s # return ret; 1246s # } 1246s # 1246s # static void 1246s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint G_GNUC_UNUSED, 1246s # void *marshal_data) 1246s # { 1246s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1246s # (void *data1, 1246s # GDBusMethodInvocation *arg_method_invocation, 1246s # gboolean arg_an_b, 1246s # guchar arg_an_y, 1246s # gint16 arg_an_n, 1246s # guint16 arg_an_q, 1246s # gint arg_an_i, 1246s # guint arg_an_u, 1246s # gint64 arg_an_x, 1246s # guint64 arg_an_t, 1246s # gdouble arg_an_d, 1246s # const gchar *arg_an_s, 1246s # const gchar *arg_an_o, 1246s # const gchar *arg_an_g, 1246s # GVariant *arg_an_h, 1246s # const gchar *arg_an_ay, 1246s # const gchar *const *arg_an_as, 1246s # const gchar *const *arg_an_ao, 1246s # const gchar *const *arg_an_aay, 1246s # GVariant *arg_an_asv, 1246s # void *data2); 1246s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1246s # GCClosure *cc = (GCClosure*) closure; 1246s # void *data1, *data2; 1246s # gboolean v_return; 1246s # 1246s # g_return_if_fail (return_value != NULL); 1246s # g_return_if_fail (n_param_values == 20); 1246s # 1246s # if (G_CCLOSURE_SWAP_DATA (closure)) 1246s # { 1246s # data1 = closure->data; 1246s # data2 = g_value_peek_pointer (param_values + 0); 1246s # } 1246s # else 1246s # { 1246s # data1 = g_value_peek_pointer (param_values + 0); 1246s # data2 = closure->data; 1246s # } 1246s # 1246s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1246s # (marshal_data ? marshal_data : cc->callback); 1246s # 1246s # v_return = 1246s # callback (data1, 1246s # g_marshal_value_peek_object (param_values + 1), 1246s # g_marshal_value_peek_boolean (param_values + 2), 1246s # g_marshal_value_peek_uchar (param_values + 3), 1246s # g_marshal_value_peek_int (param_values + 4), 1246s # g_marshal_value_peek_uint (param_values + 5), 1246s # g_marshal_value_peek_int (param_values + 6), 1246s # g_marshal_value_peek_uint (param_values + 7), 1246s # g_marshal_value_peek_int64 (param_values + 8), 1246s # g_marshal_value_peek_uint64 (param_values + 9), 1246s # g_marshal_value_peek_double (param_values + 10), 1246s # g_marshal_value_peek_string (param_values + 11), 1246s # g_marshal_value_peek_string (param_values + 12), 1246s # g_marshal_value_peek_string (param_values + 13), 1246s # g_marshal_value_peek_variant (param_values + 14), 1246s # g_marshal_value_peek_string (param_values + 15), 1246s # g_marshal_value_peek_boxed (param_values + 16), 1246s # g_marshal_value_peek_boxed (param_values + 17), 1246s # g_marshal_value_peek_boxed (param_values + 18), 1246s # g_marshal_value_peek_variant (param_values + 19), 1246s # data2); 1246s # 1246s # g_value_set_boolean (return_value, v_return); 1246s # } 1246s # 1246s # /* ------------------------------------------------------------------------ 1246s # * Code for interface org.project.CallableIface 1246s # * ------------------------------------------------------------------------ 1246s # */ 1246s # 1246s # /** 1246s # * SECTION:OrgProjectCallableIface 1246s # * @title: OrgProjectCallableIface 1246s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1246s # * 1246s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1246s # */ 1246s # 1246s # /* ---- Introspection data for org.project.CallableIface ---- */ 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_b", 1246s # (gchar *) "b", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_y", 1246s # (gchar *) "y", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_n", 1246s # (gchar *) "n", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_q", 1246s # (gchar *) "q", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_i", 1246s # (gchar *) "i", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_u", 1246s # (gchar *) "u", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_x", 1246s # (gchar *) "x", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_t", 1246s # (gchar *) "t", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_d", 1246s # (gchar *) "d", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_s", 1246s # (gchar *) "s", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_o", 1246s # (gchar *) "o", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_g", 1246s # (gchar *) "g", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_h", 1246s # (gchar *) "h", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_ay", 1246s # (gchar *) "ay", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_as", 1246s # (gchar *) "as", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_ao", 1246s # (gchar *) "ao", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_aay", 1246s # (gchar *) "aay", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_asv", 1246s # (gchar *) "a{sv}", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1246s # { 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1246s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "MethodWithManyArgs", 1246s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "handle-method-with-many-args", 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_b", 1246s # (gchar *) "b", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_y", 1246s # (gchar *) "y", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_n", 1246s # (gchar *) "n", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_q", 1246s # (gchar *) "q", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_i", 1246s # (gchar *) "i", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_u", 1246s # (gchar *) "u", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_x", 1246s # (gchar *) "x", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_t", 1246s # (gchar *) "t", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_d", 1246s # (gchar *) "d", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_s", 1246s # (gchar *) "s", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_o", 1246s # (gchar *) "o", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_g", 1246s # (gchar *) "g", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_h", 1246s # (gchar *) "h", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_ay", 1246s # (gchar *) "ay", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_as", 1246s # (gchar *) "as", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_ao", 1246s # (gchar *) "ao", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_aay", 1246s # (gchar *) "aay", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "an_asv", 1246s # (gchar *) "a{sv}", 1246s # NULL 1246s # }, 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1246s # { 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "SameMethodWithManyArgs", 1246s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "handle-same-method-with-many-args", 1246s # FALSE 1246s # }; 1246s # 1246s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1246s # { 1246s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1246s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1246s # NULL 1246s # }; 1246s # 1246s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1246s # { 1246s # { 1246s # -1, 1246s # (gchar *) "org.project.CallableIface", 1246s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1246s # NULL, 1246s # NULL, 1246s # NULL 1246s # }, 1246s # "org-project-callable-iface", 1246s # }; 1246s # 1246s # 1246s # /** 1246s # * org_project_callable_iface_interface_info: 1246s # * 1246s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1246s # * 1246s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1246s # */ 1246s # GDBusInterfaceInfo * 1246s # org_project_callable_iface_interface_info (void) 1246s # { 1246s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1246s # } 1246s # 1246s # /** 1246s # * org_project_callable_iface_override_properties: 1246s # * @klass: The class structure for a #GObject derived class. 1246s # * @property_id_begin: The property id to assign to the first overridden property. 1246s # * 1246s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1246s # * The properties are overridden in the order they are defined. 1246s # * 1246s # * Returns: The last property id. 1246s # */ 1246s # guint 1246s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1246s # { 1246s # return property_id_begin - 1; 1246s # } 1246s # 1246s # 1246s # inline static void 1246s # org_project_callable_iface_method_marshal_method_with_many_args ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _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, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # inline static void 1246s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1246s # GClosure *closure, 1246s # GValue *return_value, 1246s # unsigned int n_param_values, 1246s # const GValue *param_values, 1246s # void *invocation_hint, 1246s # void *marshal_data) 1246s # { 1246s # _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, 1246s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1246s # } 1246s # 1246s # 1246s # /** 1246s # * OrgProjectCallableIface: 1246s # * 1246s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1246s # */ 1246s # 1246s # /** 1246s # * OrgProjectCallableIfaceIface: 1246s # * @parent_iface: The parent interface. 1246s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1246s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1246s # * 1246s # * Virtual table for the D-Bus interface org.project.CallableIface. 1246s # */ 1246s # 1246s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1246s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1246s # 1246s # static void 1246s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1246s # { 1246s # /* GObject signals for incoming D-Bus method calls: */ 1246s # /** 1246s # * OrgProjectCallableIface::handle-method-with-many-args: 1246s # * @object: A #OrgProjectCallableIface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * @arg_an_b: Argument passed by remote caller. 1246s # * @arg_an_y: Argument passed by remote caller. 1246s # * @arg_an_n: Argument passed by remote caller. 1246s # * @arg_an_q: Argument passed by remote caller. 1246s # * @arg_an_i: Argument passed by remote caller. 1246s # * @arg_an_u: Argument passed by remote caller. 1246s # * @arg_an_x: Argument passed by remote caller. 1246s # * @arg_an_t: Argument passed by remote caller. 1246s # * @arg_an_d: Argument passed by remote caller. 1246s # * @arg_an_s: Argument passed by remote caller. 1246s # * @arg_an_o: Argument passed by remote caller. 1246s # * @arg_an_g: Argument passed by remote caller. 1246s # * @arg_an_h: Argument passed by remote caller. 1246s # * @arg_an_ay: Argument passed by remote caller. 1246s # * @arg_an_as: Argument passed by remote caller. 1246s # * @arg_an_ao: Argument passed by remote caller. 1246s # * @arg_an_aay: Argument passed by remote caller. 1246s # * @arg_an_asv: Argument passed by remote caller. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-method-with-many-args", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_callable_iface_method_marshal_method_with_many_args, 1246s # G_TYPE_BOOLEAN, 1246s # 19, 1246s # 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); 1246s # 1246s # /** 1246s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1246s # * @object: A #OrgProjectCallableIface. 1246s # * @invocation: A #GDBusMethodInvocation. 1246s # * @arg_an_b: Argument passed by remote caller. 1246s # * @arg_an_y: Argument passed by remote caller. 1246s # * @arg_an_n: Argument passed by remote caller. 1246s # * @arg_an_q: Argument passed by remote caller. 1246s # * @arg_an_i: Argument passed by remote caller. 1246s # * @arg_an_u: Argument passed by remote caller. 1246s # * @arg_an_x: Argument passed by remote caller. 1246s # * @arg_an_t: Argument passed by remote caller. 1246s # * @arg_an_d: Argument passed by remote caller. 1246s # * @arg_an_s: Argument passed by remote caller. 1246s # * @arg_an_o: Argument passed by remote caller. 1246s # * @arg_an_g: Argument passed by remote caller. 1246s # * @arg_an_h: Argument passed by remote caller. 1246s # * @arg_an_ay: Argument passed by remote caller. 1246s # * @arg_an_as: Argument passed by remote caller. 1246s # * @arg_an_ao: Argument passed by remote caller. 1246s # * @arg_an_aay: Argument passed by remote caller. 1246s # * @arg_an_asv: Argument passed by remote caller. 1246s # * 1246s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1246s # * 1246s # * 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. 1246s # * 1246s # * 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. 1246s # */ 1246s # g_signal_new ("handle-same-method-with-many-args", 1246s # G_TYPE_FROM_INTERFACE (iface), 1246s # G_SIGNAL_RUN_LAST, 1246s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1246s # g_signal_accumulator_true_handled, 1246s # NULL, 1246s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1246s # G_TYPE_BOOLEAN, 1246s # 19, 1246s # 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); 1246s # 1246s # } 1246s # 1246s # /** 1246s # * org_project_callable_iface_call_method_with_many_args: 1246s # * @proxy: A #OrgProjectCallableIfaceProxy. 1246s # * @arg_an_b: Argument to pass with the method invocation. 1246s # * @arg_an_y: Argument to pass with the method invocation. 1246s # * @arg_an_n: Argument to pass with the method invocation. 1246s # * @arg_an_q: Argument to pass with the method invocation. 1246s # * @arg_an_i: Argument to pass with the method invocation. 1246s # * @arg_an_u: Argument to pass with the method invocation. 1246s # * @arg_an_x: Argument to pass with the method invocation. 1246s # * @arg_an_t: Argument to pass with the method invocation. 1246s # * @arg_an_d: Argument to pass with the method invocation. 1246s # * @arg_an_s: Argument to pass with the method invocation. 1246s # * @arg_an_o: Argument to pass with the method invocation. 1246s # * @arg_an_g: Argument to pass with the method invocation. 1246s # * @arg_an_h: Argument to pass with the method invocation. 1246s # * @arg_an_ay: Argument to pass with the method invocation. 1246s # * @arg_an_as: Argument to pass with the method invocation. 1246s # * @arg_an_ao: Argument to pass with the method invocation. 1246s # * @arg_an_aay: Argument to pass with the method invocation. 1246s # * @arg_an_asv: Argument to pass with the method invocation. 1246s # * @cancellable: (nullable): A #GCancellable or %NULL. 1246s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1246s # * @user_data: User data to pass to @callback. 1246s # * 1246s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1246s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1246s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1246s # * 1246s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1246s # */ 1246s # void 1246s # org_project_callable_iface_call_method_with_many_args ( 1246s # OrgProjectCallableIface *proxy, 1246s # gboolean arg_an_b, 1246s # guchar arg_an_y, 1246s # gint16 arg_an_n, 1246s # guint16 arg_an_q, 1246s # gint arg_an_i, 1246s # guint arg_an_u, 1246s # gint64 arg_an_x, 1246s # guint64 arg_an_t, 1246s # gdouble arg_an_d, 1246s # const gchar *arg_an_s, 1246s # const gchar *arg_an_o, 1246s # const gchar *arg_an_g, 1246s # GVariant *arg_an_h, 1246s # const gchar *arg_an_ay, 1246s # const gchar *const *arg_an_as, 1246s # const gchar *const *arg_an_ao, 1246s # const gchar *const *arg_an_aay, 1246s # GVariant *arg_an_asv, 1246s # GCancellable *cancellable, 1246s # GAsyncReadyCallback callback, 1246s # gpointer user_data) 1246s # { 1246s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1246s # "MethodWithManyArgs", 1246s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1246s # arg_an_b, 1246s # arg_an_y, 1246s # arg_an_n, 1246s # arg_an_q, 1246s # arg_an_i, 1246s # arg_an_u, 1246s # arg_an_x, 1246s # arg_an_t, 1246s # arg_an_d, 1246s # arg_an_s, 1246s # arg_an_o, 1246s # arg_an_g, 1246s # arg_an_h, 1246s # arg_an_ay, 1246s # arg_an_as, 1246s # arg_an_ao, 1246s # arg_an_aay, 1246s # arg_an_asv), 1246s # G_DBUS_CALL_FLAGS_NONE, 1246s # -1, 1246s # cancellable, 1246s # callback, 1246s # user_data); 1246s # } 1246s # 1246s # /** 1246s # * org_project_callable_iface_call_method_with_many_args_finish: 1246s # * @proxy: A #OrgProjectCallableIfaceProxy. 1246s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1246s # * @error: Return location for error or %NULL. 1246s # * 1246s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1246s # * 1246s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1246s # */ 1246s # gboolean 1246s # org_project_callable_iface_call_method_with_many_args_finish ( 1246s # OrgProjectCallableIface *proxy, 1246s # GAsyncResult *res, 1246s # GError **error) 1246s # { 1246s # GVariant *_ret; 1246s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1246s # if (_ret == NULL) 1246s # goto _out; 1246s # g_variant_get (_ret, 1246s # "()"); 1246s # g_variant_unref (_ret); 1246s # _out: 1246s # return _ret != NULL; 1246s # } 1246s # 1246s # /** 1246s # * org_project_callable_iface_call_method_with_many_args_sync: 1246s # * @proxy: A #OrgProjectCallableIfaceProxy. 1246s # * @arg_an_b: Argument to pass with the method invocation. 1246s # * @arg_an_y: Argument to pass with the method invocation. 1247s # * @arg_an_n: Argument to pass with the method invocation. 1247s # * @arg_an_q: Argument to pass with the method invocation. 1247s # * @arg_an_i: Argument to pass with the method invocation. 1247s # * @arg_an_u: Argument to pass with the method invocation. 1247s # * @arg_an_x: Argument to pass with the method invocation. 1247s # * @arg_an_t: Argument to pass with the method invocation. 1247s # * @arg_an_d: Argument to pass with the method invocation. 1247s # * @arg_an_s: Argument to pass with the method invocation. 1247s # * @arg_an_o: Argument to pass with the method invocation. 1247s # * @arg_an_g: Argument to pass with the method invocation. 1247s # * @arg_an_h: Argument to pass with the method invocation. 1247s # * @arg_an_ay: Argument to pass with the method invocation. 1247s # * @arg_an_as: Argument to pass with the method invocation. 1247s # * @arg_an_ao: Argument to pass with the method invocation. 1247s # * @arg_an_aay: Argument to pass with the method invocation. 1247s # * @arg_an_asv: Argument to pass with the method invocation. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_callable_iface_call_method_with_many_args_sync ( 1247s # OrgProjectCallableIface *proxy, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1247s # "MethodWithManyArgs", 1247s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # arg_an_b, 1247s # arg_an_y, 1247s # arg_an_n, 1247s # arg_an_q, 1247s # arg_an_i, 1247s # arg_an_u, 1247s # arg_an_x, 1247s # arg_an_t, 1247s # arg_an_d, 1247s # arg_an_s, 1247s # arg_an_o, 1247s # arg_an_g, 1247s # arg_an_h, 1247s # arg_an_ay, 1247s # arg_an_as, 1247s # arg_an_ao, 1247s # arg_an_aay, 1247s # arg_an_asv), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "()"); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_call_same_method_with_many_args: 1247s # * @proxy: A #OrgProjectCallableIfaceProxy. 1247s # * @arg_an_b: Argument to pass with the method invocation. 1247s # * @arg_an_y: Argument to pass with the method invocation. 1247s # * @arg_an_n: Argument to pass with the method invocation. 1247s # * @arg_an_q: Argument to pass with the method invocation. 1247s # * @arg_an_i: Argument to pass with the method invocation. 1247s # * @arg_an_u: Argument to pass with the method invocation. 1247s # * @arg_an_x: Argument to pass with the method invocation. 1247s # * @arg_an_t: Argument to pass with the method invocation. 1247s # * @arg_an_d: Argument to pass with the method invocation. 1247s # * @arg_an_s: Argument to pass with the method invocation. 1247s # * @arg_an_o: Argument to pass with the method invocation. 1247s # * @arg_an_g: Argument to pass with the method invocation. 1247s # * @arg_an_h: Argument to pass with the method invocation. 1247s # * @arg_an_ay: Argument to pass with the method invocation. 1247s # * @arg_an_as: Argument to pass with the method invocation. 1247s # * @arg_an_ao: Argument to pass with the method invocation. 1247s # * @arg_an_aay: Argument to pass with the method invocation. 1247s # * @arg_an_asv: Argument to pass with the method invocation. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1247s # */ 1247s # void 1247s # org_project_callable_iface_call_same_method_with_many_args ( 1247s # OrgProjectCallableIface *proxy, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1247s # "SameMethodWithManyArgs", 1247s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # arg_an_b, 1247s # arg_an_y, 1247s # arg_an_n, 1247s # arg_an_q, 1247s # arg_an_i, 1247s # arg_an_u, 1247s # arg_an_x, 1247s # arg_an_t, 1247s # arg_an_d, 1247s # arg_an_s, 1247s # arg_an_o, 1247s # arg_an_g, 1247s # arg_an_h, 1247s # arg_an_ay, 1247s # arg_an_as, 1247s # arg_an_ao, 1247s # arg_an_aay, 1247s # arg_an_asv), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # callback, 1247s # user_data); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1247s # * @proxy: A #OrgProjectCallableIfaceProxy. 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1247s # OrgProjectCallableIface *proxy, 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "()"); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1247s # * @proxy: A #OrgProjectCallableIfaceProxy. 1247s # * @arg_an_b: Argument to pass with the method invocation. 1247s # * @arg_an_y: Argument to pass with the method invocation. 1247s # * @arg_an_n: Argument to pass with the method invocation. 1247s # * @arg_an_q: Argument to pass with the method invocation. 1247s # * @arg_an_i: Argument to pass with the method invocation. 1247s # * @arg_an_u: Argument to pass with the method invocation. 1247s # * @arg_an_x: Argument to pass with the method invocation. 1247s # * @arg_an_t: Argument to pass with the method invocation. 1247s # * @arg_an_d: Argument to pass with the method invocation. 1247s # * @arg_an_s: Argument to pass with the method invocation. 1247s # * @arg_an_o: Argument to pass with the method invocation. 1247s # * @arg_an_g: Argument to pass with the method invocation. 1247s # * @arg_an_h: Argument to pass with the method invocation. 1247s # * @arg_an_ay: Argument to pass with the method invocation. 1247s # * @arg_an_as: Argument to pass with the method invocation. 1247s # * @arg_an_ao: Argument to pass with the method invocation. 1247s # * @arg_an_aay: Argument to pass with the method invocation. 1247s # * @arg_an_asv: Argument to pass with the method invocation. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1247s # OrgProjectCallableIface *proxy, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1247s # "SameMethodWithManyArgs", 1247s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # arg_an_b, 1247s # arg_an_y, 1247s # arg_an_n, 1247s # arg_an_q, 1247s # arg_an_i, 1247s # arg_an_u, 1247s # arg_an_x, 1247s # arg_an_t, 1247s # arg_an_d, 1247s # arg_an_s, 1247s # arg_an_o, 1247s # arg_an_g, 1247s # arg_an_h, 1247s # arg_an_ay, 1247s # arg_an_as, 1247s # arg_an_ao, 1247s # arg_an_aay, 1247s # arg_an_asv), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "()"); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_complete_method_with_many_args: 1247s # * @object: A #OrgProjectCallableIface. 1247s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1247s # * 1247s # * 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. 1247s # * 1247s # * This method will free @invocation, you cannot use it afterwards. 1247s # */ 1247s # void 1247s # org_project_callable_iface_complete_method_with_many_args ( 1247s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1247s # GDBusMethodInvocation *invocation) 1247s # { 1247s # g_dbus_method_invocation_return_value (invocation, 1247s # g_variant_new ("()")); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_complete_same_method_with_many_args: 1247s # * @object: A #OrgProjectCallableIface. 1247s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1247s # * 1247s # * 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. 1247s # * 1247s # * This method will free @invocation, you cannot use it afterwards. 1247s # */ 1247s # void 1247s # org_project_callable_iface_complete_same_method_with_many_args ( 1247s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1247s # GDBusMethodInvocation *invocation) 1247s # { 1247s # g_dbus_method_invocation_return_value (invocation, 1247s # g_variant_new ("()")); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceProxy: 1247s # * 1247s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectCallableIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectCallableIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_callable_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_callable_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_callable_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectCallableIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_callable_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_callable_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_callable_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1247s # { 1247s # _org_project_callable_iface_skeleton_handle_method_call, 1247s # _org_project_callable_iface_skeleton_handle_get_property, 1247s # _org_project_callable_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_callable_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_callable_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.OtherCallableIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectOtherCallableIface 1247s # * @title: OrgProjectOtherCallableIface 1247s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1247s # */ 1247s # 1247s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_b", 1247s # (gchar *) "b", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_y", 1247s # (gchar *) "y", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_n", 1247s # (gchar *) "n", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_q", 1247s # (gchar *) "q", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_i", 1247s # (gchar *) "i", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_u", 1247s # (gchar *) "u", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_x", 1247s # (gchar *) "x", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_t", 1247s # (gchar *) "t", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_d", 1247s # (gchar *) "d", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_s", 1247s # (gchar *) "s", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_o", 1247s # (gchar *) "o", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_g", 1247s # (gchar *) "g", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_h", 1247s # (gchar *) "h", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ay", 1247s # (gchar *) "ay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_as", 1247s # (gchar *) "as", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ao", 1247s # (gchar *) "ao", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_aay", 1247s # (gchar *) "aay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_asv", 1247s # (gchar *) "a{sv}", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1247s # { 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "MethodWithManyArgs", 1247s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "handle-method-with-many-args", 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1247s # { 1247s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.OtherCallableIface", 1247s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1247s # NULL, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-other-callable-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_other_callable_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # _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, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectOtherCallableIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherCallableIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1247s # */ 1247s # 1247s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1247s # { 1247s # /* GObject signals for incoming D-Bus method calls: */ 1247s # /** 1247s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1247s # * @object: A #OrgProjectOtherCallableIface. 1247s # * @invocation: A #GDBusMethodInvocation. 1247s # * @arg_an_b: Argument passed by remote caller. 1247s # * @arg_an_y: Argument passed by remote caller. 1247s # * @arg_an_n: Argument passed by remote caller. 1247s # * @arg_an_q: Argument passed by remote caller. 1247s # * @arg_an_i: Argument passed by remote caller. 1247s # * @arg_an_u: Argument passed by remote caller. 1247s # * @arg_an_x: Argument passed by remote caller. 1247s # * @arg_an_t: Argument passed by remote caller. 1247s # * @arg_an_d: Argument passed by remote caller. 1247s # * @arg_an_s: Argument passed by remote caller. 1247s # * @arg_an_o: Argument passed by remote caller. 1247s # * @arg_an_g: Argument passed by remote caller. 1247s # * @arg_an_h: Argument passed by remote caller. 1247s # * @arg_an_ay: Argument passed by remote caller. 1247s # * @arg_an_as: Argument passed by remote caller. 1247s # * @arg_an_ao: Argument passed by remote caller. 1247s # * @arg_an_aay: Argument passed by remote caller. 1247s # * @arg_an_asv: Argument passed by remote caller. 1247s # * 1247s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1247s # * 1247s # * 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. 1247s # * 1247s # * 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. 1247s # */ 1247s # g_signal_new ("handle-method-with-many-args", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1247s # g_signal_accumulator_true_handled, 1247s # NULL, 1247s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1247s # G_TYPE_BOOLEAN, 1247s # 19, 1247s # 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); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_call_method_with_many_args: 1247s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1247s # * @arg_an_b: Argument to pass with the method invocation. 1247s # * @arg_an_y: Argument to pass with the method invocation. 1247s # * @arg_an_n: Argument to pass with the method invocation. 1247s # * @arg_an_q: Argument to pass with the method invocation. 1247s # * @arg_an_i: Argument to pass with the method invocation. 1247s # * @arg_an_u: Argument to pass with the method invocation. 1247s # * @arg_an_x: Argument to pass with the method invocation. 1247s # * @arg_an_t: Argument to pass with the method invocation. 1247s # * @arg_an_d: Argument to pass with the method invocation. 1247s # * @arg_an_s: Argument to pass with the method invocation. 1247s # * @arg_an_o: Argument to pass with the method invocation. 1247s # * @arg_an_g: Argument to pass with the method invocation. 1247s # * @arg_an_h: Argument to pass with the method invocation. 1247s # * @arg_an_ay: Argument to pass with the method invocation. 1247s # * @arg_an_as: Argument to pass with the method invocation. 1247s # * @arg_an_ao: Argument to pass with the method invocation. 1247s # * @arg_an_aay: Argument to pass with the method invocation. 1247s # * @arg_an_asv: Argument to pass with the method invocation. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1247s # */ 1247s # void 1247s # org_project_other_callable_iface_call_method_with_many_args ( 1247s # OrgProjectOtherCallableIface *proxy, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1247s # "MethodWithManyArgs", 1247s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # arg_an_b, 1247s # arg_an_y, 1247s # arg_an_n, 1247s # arg_an_q, 1247s # arg_an_i, 1247s # arg_an_u, 1247s # arg_an_x, 1247s # arg_an_t, 1247s # arg_an_d, 1247s # arg_an_s, 1247s # arg_an_o, 1247s # arg_an_g, 1247s # arg_an_h, 1247s # arg_an_ay, 1247s # arg_an_as, 1247s # arg_an_ao, 1247s # arg_an_aay, 1247s # arg_an_asv), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # callback, 1247s # user_data); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1247s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1247s # OrgProjectOtherCallableIface *proxy, 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "()"); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1247s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1247s # * @arg_an_b: Argument to pass with the method invocation. 1247s # * @arg_an_y: Argument to pass with the method invocation. 1247s # * @arg_an_n: Argument to pass with the method invocation. 1247s # * @arg_an_q: Argument to pass with the method invocation. 1247s # * @arg_an_i: Argument to pass with the method invocation. 1247s # * @arg_an_u: Argument to pass with the method invocation. 1247s # * @arg_an_x: Argument to pass with the method invocation. 1247s # * @arg_an_t: Argument to pass with the method invocation. 1247s # * @arg_an_d: Argument to pass with the method invocation. 1247s # * @arg_an_s: Argument to pass with the method invocation. 1247s # * @arg_an_o: Argument to pass with the method invocation. 1247s # * @arg_an_g: Argument to pass with the method invocation. 1247s # * @arg_an_h: Argument to pass with the method invocation. 1247s # * @arg_an_ay: Argument to pass with the method invocation. 1247s # * @arg_an_as: Argument to pass with the method invocation. 1247s # * @arg_an_ao: Argument to pass with the method invocation. 1247s # * @arg_an_aay: Argument to pass with the method invocation. 1247s # * @arg_an_asv: Argument to pass with the method invocation. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1247s # OrgProjectOtherCallableIface *proxy, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1247s # "MethodWithManyArgs", 1247s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # arg_an_b, 1247s # arg_an_y, 1247s # arg_an_n, 1247s # arg_an_q, 1247s # arg_an_i, 1247s # arg_an_u, 1247s # arg_an_x, 1247s # arg_an_t, 1247s # arg_an_d, 1247s # arg_an_s, 1247s # arg_an_o, 1247s # arg_an_g, 1247s # arg_an_h, 1247s # arg_an_ay, 1247s # arg_an_as, 1247s # arg_an_ao, 1247s # arg_an_aay, 1247s # arg_an_asv), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "()"); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_complete_method_with_many_args: 1247s # * @object: A #OrgProjectOtherCallableIface. 1247s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1247s # * 1247s # * 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. 1247s # * 1247s # * This method will free @invocation, you cannot use it afterwards. 1247s # */ 1247s # void 1247s # org_project_other_callable_iface_complete_method_with_many_args ( 1247s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1247s # GDBusMethodInvocation *invocation) 1247s # { 1247s # g_dbus_method_invocation_return_value (invocation, 1247s # g_variant_new ("()")); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectOtherCallableIfaceProxy: 1247s # * 1247s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherCallableIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_other_callable_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherCallableIface * 1247s # org_project_other_callable_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherCallableIface * 1247s # org_project_other_callable_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_other_callable_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherCallableIface * 1247s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherCallableIface * 1247s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectOtherCallableIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherCallableIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1247s # { 1247s # _org_project_other_callable_iface_skeleton_handle_method_call, 1247s # _org_project_other_callable_iface_skeleton_handle_get_property, 1247s # _org_project_other_callable_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_other_callable_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_callable_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectOtherCallableIface * 1247s # org_project_other_callable_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1247s # } 1247s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1247s # tmpdir: /tmp/tmp05h_c9_e 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmp05h_c9_e/tmpmeer_y35.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp05h_c9_e/tmpmeer_y35.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static void 1247s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint G_GNUC_UNUSED, 1247s # void *marshal_data) 1247s # { 1247s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1247s # (void *data1, 1247s # GDBusMethodInvocation *arg_method_invocation, 1247s # void *data2); 1247s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1247s # GCClosure *cc = (GCClosure*) closure; 1247s # void *data1, *data2; 1247s # gboolean v_return; 1247s # 1247s # g_return_if_fail (return_value != NULL); 1247s # g_return_if_fail (n_param_values == 2); 1247s # 1247s # if (G_CCLOSURE_SWAP_DATA (closure)) 1247s # { 1247s # data1 = closure->data; 1247s # data2 = g_value_peek_pointer (param_values + 0); 1247s # } 1247s # else 1247s # { 1247s # data1 = g_value_peek_pointer (param_values + 0); 1247s # data2 = closure->data; 1247s # } 1247s # 1247s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1247s # (marshal_data ? marshal_data : cc->callback); 1247s # 1247s # v_return = 1247s # callback (data1, 1247s # g_marshal_value_peek_object (param_values + 1), 1247s # data2); 1247s # 1247s # g_value_set_boolean (return_value, v_return); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.CallableIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectCallableIface 1247s # * @title: OrgProjectCallableIface 1247s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1247s # */ 1247s # 1247s # /* ---- Introspection data for org.project.CallableIface ---- */ 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_b", 1247s # (gchar *) "b", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_y", 1247s # (gchar *) "y", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_n", 1247s # (gchar *) "n", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_q", 1247s # (gchar *) "q", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_i", 1247s # (gchar *) "i", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_u", 1247s # (gchar *) "u", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_x", 1247s # (gchar *) "x", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_t", 1247s # (gchar *) "t", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_d", 1247s # (gchar *) "d", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_s", 1247s # (gchar *) "s", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_o", 1247s # (gchar *) "o", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_g", 1247s # (gchar *) "g", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_h", 1247s # (gchar *) "h", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ay", 1247s # (gchar *) "ay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_as", 1247s # (gchar *) "as", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ao", 1247s # (gchar *) "ao", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_aay", 1247s # (gchar *) "aay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_asv", 1247s # (gchar *) "a{sv}", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1247s # { 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1247s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "MethodWithManyArgs", 1247s # NULL, 1247s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "handle-method-with-many-args", 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1247s # { 1247s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.CallableIface", 1247s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1247s # NULL, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-callable-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_callable_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_callable_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_callable_iface_method_marshal_method_with_many_args ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectCallableIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.CallableIface. 1247s # */ 1247s # 1247s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1247s # { 1247s # /* GObject signals for incoming D-Bus method calls: */ 1247s # /** 1247s # * OrgProjectCallableIface::handle-method-with-many-args: 1247s # * @object: A #OrgProjectCallableIface. 1247s # * @invocation: A #GDBusMethodInvocation. 1247s # * 1247s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1247s # * 1247s # * 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. 1247s # * 1247s # * 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. 1247s # */ 1247s # g_signal_new ("handle-method-with-many-args", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1247s # g_signal_accumulator_true_handled, 1247s # NULL, 1247s # org_project_callable_iface_method_marshal_method_with_many_args, 1247s # G_TYPE_BOOLEAN, 1247s # 1, 1247s # G_TYPE_DBUS_METHOD_INVOCATION); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_call_method_with_many_args: 1247s # * @proxy: A #OrgProjectCallableIfaceProxy. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1247s # */ 1247s # void 1247s # org_project_callable_iface_call_method_with_many_args ( 1247s # OrgProjectCallableIface *proxy, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1247s # "MethodWithManyArgs", 1247s # g_variant_new ("()"), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # callback, 1247s # user_data); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_call_method_with_many_args_finish: 1247s # * @proxy: A #OrgProjectCallableIfaceProxy. 1247s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_callable_iface_call_method_with_many_args_finish ( 1247s # OrgProjectCallableIface *proxy, 1247s # gboolean *out_an_b, 1247s # guchar *out_an_y, 1247s # gint16 *out_an_n, 1247s # guint16 *out_an_q, 1247s # gint *out_an_i, 1247s # guint *out_an_u, 1247s # gint64 *out_an_x, 1247s # guint64 *out_an_t, 1247s # gdouble *out_an_d, 1247s # gchar **out_an_s, 1247s # gchar **out_an_o, 1247s # gchar **out_an_g, 1247s # GVariant **out_an_h, 1247s # gchar **out_an_ay, 1247s # gchar ***out_an_as, 1247s # gchar ***out_an_ao, 1247s # gchar ***out_an_aay, 1247s # GVariant **out_an_asv, 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # out_an_b, 1247s # out_an_y, 1247s # out_an_n, 1247s # out_an_q, 1247s # out_an_i, 1247s # out_an_u, 1247s # out_an_x, 1247s # out_an_t, 1247s # out_an_d, 1247s # out_an_s, 1247s # out_an_o, 1247s # out_an_g, 1247s # out_an_h, 1247s # out_an_ay, 1247s # out_an_as, 1247s # out_an_ao, 1247s # out_an_aay, 1247s # out_an_asv); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_call_method_with_many_args_sync: 1247s # * @proxy: A #OrgProjectCallableIfaceProxy. 1247s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1247s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # org_project_callable_iface_call_method_with_many_args_sync ( 1247s # OrgProjectCallableIface *proxy, 1247s # gboolean *out_an_b, 1247s # guchar *out_an_y, 1247s # gint16 *out_an_n, 1247s # guint16 *out_an_q, 1247s # gint *out_an_i, 1247s # guint *out_an_u, 1247s # gint64 *out_an_x, 1247s # guint64 *out_an_t, 1247s # gdouble *out_an_d, 1247s # gchar **out_an_s, 1247s # gchar **out_an_o, 1247s # gchar **out_an_g, 1247s # GVariant **out_an_h, 1247s # gchar **out_an_ay, 1247s # gchar ***out_an_as, 1247s # gchar ***out_an_ao, 1247s # gchar ***out_an_aay, 1247s # GVariant **out_an_asv, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1247s # "MethodWithManyArgs", 1247s # g_variant_new ("()"), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # cancellable, 1247s # error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # out_an_b, 1247s # out_an_y, 1247s # out_an_n, 1247s # out_an_q, 1247s # out_an_i, 1247s # out_an_u, 1247s # out_an_x, 1247s # out_an_t, 1247s # out_an_d, 1247s # out_an_s, 1247s # out_an_o, 1247s # out_an_g, 1247s # out_an_h, 1247s # out_an_ay, 1247s # out_an_as, 1247s # out_an_ao, 1247s # out_an_aay, 1247s # out_an_asv); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_complete_method_with_many_args: 1247s # * @object: A #OrgProjectCallableIface. 1247s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1247s # * @an_b: Parameter to return. 1247s # * @an_y: Parameter to return. 1247s # * @an_n: Parameter to return. 1247s # * @an_q: Parameter to return. 1247s # * @an_i: Parameter to return. 1247s # * @an_u: Parameter to return. 1247s # * @an_x: Parameter to return. 1247s # * @an_t: Parameter to return. 1247s # * @an_d: Parameter to return. 1247s # * @an_s: Parameter to return. 1247s # * @an_o: Parameter to return. 1247s # * @an_g: Parameter to return. 1247s # * @an_h: Parameter to return. 1247s # * @an_ay: Parameter to return. 1247s # * @an_as: Parameter to return. 1247s # * @an_ao: Parameter to return. 1247s # * @an_aay: Parameter to return. 1247s # * @an_asv: Parameter to return. 1247s # * 1247s # * 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. 1247s # * 1247s # * This method will free @invocation, you cannot use it afterwards. 1247s # */ 1247s # void 1247s # org_project_callable_iface_complete_method_with_many_args ( 1247s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1247s # GDBusMethodInvocation *invocation, 1247s # gboolean an_b, 1247s # guchar an_y, 1247s # gint16 an_n, 1247s # guint16 an_q, 1247s # gint an_i, 1247s # guint an_u, 1247s # gint64 an_x, 1247s # guint64 an_t, 1247s # gdouble an_d, 1247s # const gchar *an_s, 1247s # const gchar *an_o, 1247s # const gchar *an_g, 1247s # GVariant *an_h, 1247s # const gchar *an_ay, 1247s # const gchar *const *an_as, 1247s # const gchar *const *an_ao, 1247s # const gchar *const *an_aay, 1247s # GVariant *an_asv) 1247s # { 1247s # g_dbus_method_invocation_return_value (invocation, 1247s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # an_b, 1247s # an_y, 1247s # an_n, 1247s # an_q, 1247s # an_i, 1247s # an_u, 1247s # an_x, 1247s # an_t, 1247s # an_d, 1247s # an_s, 1247s # an_o, 1247s # an_g, 1247s # an_h, 1247s # an_ay, 1247s # an_as, 1247s # an_ao, 1247s # an_aay, 1247s # an_asv)); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceProxy: 1247s # * 1247s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectCallableIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectCallableIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_callable_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_callable_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_callable_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectCallableIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectCallableIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_callable_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_callable_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_callable_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1247s # { 1247s # _org_project_callable_iface_skeleton_handle_method_call, 1247s # _org_project_callable_iface_skeleton_handle_get_property, 1247s # _org_project_callable_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_callable_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_callable_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_callable_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectCallableIface * 1247s # org_project_callable_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1247s # } 1247s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1247s # tmpdir: /tmp/tmpym9lfqum 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmpym9lfqum/tmph4w1_mou.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpym9lfqum/tmph4w1_mou.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static void 1247s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint G_GNUC_UNUSED, 1247s # void *marshal_data) 1247s # { 1247s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1247s # (void *data1, 1247s # GUnixFDList *arg_fd_list, 1247s # GDBusMethodInvocation *arg_method_invocation, 1247s # const gchar *arg_greeting, 1247s # void *data2); 1247s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1247s # GCClosure *cc = (GCClosure*) closure; 1247s # void *data1, *data2; 1247s # gboolean v_return; 1247s # 1247s # g_return_if_fail (return_value != NULL); 1247s # g_return_if_fail (n_param_values == 4); 1247s # 1247s # if (G_CCLOSURE_SWAP_DATA (closure)) 1247s # { 1247s # data1 = closure->data; 1247s # data2 = g_value_peek_pointer (param_values + 0); 1247s # } 1247s # else 1247s # { 1247s # data1 = g_value_peek_pointer (param_values + 0); 1247s # data2 = closure->data; 1247s # } 1247s # 1247s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1247s # (marshal_data ? marshal_data : cc->callback); 1247s # 1247s # v_return = 1247s # callback (data1, 1247s # g_marshal_value_peek_object (param_values + 1), 1247s # g_marshal_value_peek_object (param_values + 2), 1247s # g_marshal_value_peek_string (param_values + 3), 1247s # data2); 1247s # 1247s # g_value_set_boolean (return_value, v_return); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface test.FDPassing 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:TestFDPassing 1247s # * @title: TestFDPassing 1247s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1247s # * 1247s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1247s # */ 1247s # 1247s # /* ---- Introspection data for test.FDPassing ---- */ 1247s # 1247s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "greeting", 1247s # (gchar *) "s", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1247s # { 1247s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "response", 1247s # (gchar *) "s", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1247s # { 1247s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "HelloFD", 1247s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1247s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "handle-hello-fd", 1247s # TRUE 1247s # }; 1247s # 1247s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1247s # { 1247s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "test.FDPassing", 1247s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1247s # NULL, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "test-fdpassing", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * test_fdpassing_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # test_fdpassing_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # test_fdpassing_method_marshal_hello_fd ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * TestFDPassing: 1247s # * 1247s # * Abstract interface type for the D-Bus interface test.FDPassing. 1247s # */ 1247s # 1247s # /** 1247s # * TestFDPassingIface: 1247s # * @parent_iface: The parent interface. 1247s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1247s # * 1247s # * Virtual table for the D-Bus interface test.FDPassing. 1247s # */ 1247s # 1247s # typedef TestFDPassingIface TestFDPassingInterface; 1247s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # test_fdpassing_default_init (TestFDPassingIface *iface) 1247s # { 1247s # /* GObject signals for incoming D-Bus method calls: */ 1247s # /** 1247s # * TestFDPassing::handle-hello-fd: 1247s # * @object: A #TestFDPassing. 1247s # * @invocation: A #GDBusMethodInvocation. 1247s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1247s # * @arg_greeting: Argument passed by remote caller. 1247s # * 1247s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1247s # * 1247s # * 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. 1247s # * 1247s # * 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. 1247s # */ 1247s # g_signal_new ("handle-hello-fd", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1247s # g_signal_accumulator_true_handled, 1247s # NULL, 1247s # test_fdpassing_method_marshal_hello_fd, 1247s # G_TYPE_BOOLEAN, 1247s # 3, 1247s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_call_hello_fd: 1247s # * @proxy: A #TestFDPassingProxy. 1247s # * @arg_greeting: Argument to pass with the method invocation. 1247s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1247s # * 1247s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1247s # */ 1247s # void 1247s # test_fdpassing_call_hello_fd ( 1247s # TestFDPassing *proxy, 1247s # const gchar *arg_greeting, 1247s # GUnixFDList *fd_list, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1247s # "HelloFD", 1247s # g_variant_new ("(s)", 1247s # arg_greeting), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # fd_list, 1247s # cancellable, 1247s # callback, 1247s # user_data); 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_call_hello_fd_finish: 1247s # * @proxy: A #TestFDPassingProxy. 1247s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # test_fdpassing_call_hello_fd_finish ( 1247s # TestFDPassing *proxy, 1247s # gchar **out_response, 1247s # GUnixFDList **out_fd_list, 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "(s)", 1247s # out_response); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_call_hello_fd_sync: 1247s # * @proxy: A #TestFDPassingProxy. 1247s # * @arg_greeting: Argument to pass with the method invocation. 1247s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1247s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1247s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL. 1247s # * 1247s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1247s # * 1247s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1247s # * 1247s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1247s # */ 1247s # gboolean 1247s # test_fdpassing_call_hello_fd_sync ( 1247s # TestFDPassing *proxy, 1247s # const gchar *arg_greeting, 1247s # GUnixFDList *fd_list, 1247s # gchar **out_response, 1247s # GUnixFDList **out_fd_list, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GVariant *_ret; 1247s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1247s # "HelloFD", 1247s # g_variant_new ("(s)", 1247s # arg_greeting), 1247s # G_DBUS_CALL_FLAGS_NONE, 1247s # -1, 1247s # fd_list, 1247s # out_fd_list, 1247s # cancellable, 1247s # error); 1247s # if (_ret == NULL) 1247s # goto _out; 1247s # g_variant_get (_ret, 1247s # "(s)", 1247s # out_response); 1247s # g_variant_unref (_ret); 1247s # _out: 1247s # return _ret != NULL; 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_complete_hello_fd: 1247s # * @object: A #TestFDPassing. 1247s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1247s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1247s # * @response: Parameter to return. 1247s # * 1247s # * 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. 1247s # * 1247s # * This method will free @invocation, you cannot use it afterwards. 1247s # */ 1247s # void 1247s # test_fdpassing_complete_hello_fd ( 1247s # TestFDPassing *object G_GNUC_UNUSED, 1247s # GDBusMethodInvocation *invocation, 1247s # GUnixFDList *fd_list, 1247s # const gchar *response) 1247s # { 1247s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1247s # g_variant_new ("(s)", 1247s # response), 1247s # fd_list); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * TestFDPassingProxy: 1247s # * 1247s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * TestFDPassingProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #TestFDPassingProxy. 1247s # */ 1247s # 1247s # struct _TestFDPassingProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (TestFDPassingProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # test_fdpassing_proxy_finalize (GObject *object) 1247s # { 1247s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1247s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1247s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1247s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # test_fdpassing_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with test_fdpassing_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # TestFDPassing * 1247s # test_fdpassing_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return TEST_FDPASSING (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # TestFDPassing * 1247s # test_fdpassing_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return TEST_FDPASSING (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * test_fdpassing_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # test_fdpassing_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # TestFDPassing * 1247s # test_fdpassing_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return TEST_FDPASSING (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # TestFDPassing * 1247s # test_fdpassing_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return TEST_FDPASSING (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * TestFDPassingSkeleton: 1247s # * 1247s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * TestFDPassingSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #TestFDPassingSkeleton. 1247s # */ 1247s # 1247s # struct _TestFDPassingSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _test_fdpassing_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _test_fdpassing_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _test_fdpassing_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1247s # { 1247s # _test_fdpassing_skeleton_handle_method_call, 1247s # _test_fdpassing_skeleton_handle_get_property, 1247s # _test_fdpassing_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return test_fdpassing_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # test_fdpassing_skeleton_finalize (GObject *object) 1247s # { 1247s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * test_fdpassing_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1247s # * 1247s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1247s # */ 1247s # TestFDPassing * 1247s # test_fdpassing_skeleton_new (void) 1247s # { 1247s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1247s # } 1247s ok 15 __main__.TestCodegen.test_generate_rst 1247s # tmpdir: /tmp/tmp33ihjrgw 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmp33ihjrgw/tmpp3arircl.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33ihjrgw/tmpp3arircl.xml', '--generate-rst', 'test'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: 1247s ok 16 __main__.TestCodegen.test_generate_rst_method 1247s # tmpdir: /tmp/tmpffwx4vui 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmpffwx4vui/tmpztpnqjh_.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpffwx4vui/tmpztpnqjh_.xml', '--generate-rst', 'test'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: 1247s ok 17 __main__.TestCodegen.test_generate_rst_property 1247s # tmpdir: /tmp/tmp0saoyapu 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmp0saoyapu/tmpllx4dpmu.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0saoyapu/tmpllx4dpmu.xml', '--generate-rst', 'test'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: 1247s ok 18 __main__.TestCodegen.test_generate_rst_signal 1247s # tmpdir: /tmp/tmpc6nqxlqy 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmpc6nqxlqy/tmpeq7ljzj2.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc6nqxlqy/tmpeq7ljzj2.xml', '--generate-rst', 'test'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: 1247s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1247s # tmpdir: /tmp/tmp80qlq12h 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmp80qlq12h/tmpzcta__vh.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80qlq12h/tmpzcta__vh.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static void 1247s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1247s # GClosure *closure, 1247s # GValue *return_value G_GNUC_UNUSED, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint G_GNUC_UNUSED, 1247s # void *marshal_data) 1247s # { 1247s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1247s # (void *data1, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv, 1247s # void *data2); 1247s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1247s # GCClosure *cc = (GCClosure*) closure; 1247s # void *data1, *data2; 1247s # 1247s # g_return_if_fail (n_param_values == 19); 1247s # 1247s # if (G_CCLOSURE_SWAP_DATA (closure)) 1247s # { 1247s # data1 = closure->data; 1247s # data2 = g_value_peek_pointer (param_values + 0); 1247s # } 1247s # else 1247s # { 1247s # data1 = g_value_peek_pointer (param_values + 0); 1247s # data2 = closure->data; 1247s # } 1247s # 1247s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1247s # (marshal_data ? marshal_data : cc->callback); 1247s # 1247s # callback (data1, 1247s # g_marshal_value_peek_boolean (param_values + 1), 1247s # g_marshal_value_peek_uchar (param_values + 2), 1247s # g_marshal_value_peek_int (param_values + 3), 1247s # g_marshal_value_peek_uint (param_values + 4), 1247s # g_marshal_value_peek_int (param_values + 5), 1247s # g_marshal_value_peek_uint (param_values + 6), 1247s # g_marshal_value_peek_int64 (param_values + 7), 1247s # g_marshal_value_peek_uint64 (param_values + 8), 1247s # g_marshal_value_peek_double (param_values + 9), 1247s # g_marshal_value_peek_string (param_values + 10), 1247s # g_marshal_value_peek_string (param_values + 11), 1247s # g_marshal_value_peek_string (param_values + 12), 1247s # g_marshal_value_peek_variant (param_values + 13), 1247s # g_marshal_value_peek_string (param_values + 14), 1247s # g_marshal_value_peek_boxed (param_values + 15), 1247s # g_marshal_value_peek_boxed (param_values + 16), 1247s # g_marshal_value_peek_boxed (param_values + 17), 1247s # g_marshal_value_peek_variant (param_values + 18), 1247s # data2); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_b", 1247s # (gchar *) "b", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_y", 1247s # (gchar *) "y", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_n", 1247s # (gchar *) "n", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_q", 1247s # (gchar *) "q", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_i", 1247s # (gchar *) "i", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_u", 1247s # (gchar *) "u", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_x", 1247s # (gchar *) "x", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_t", 1247s # (gchar *) "t", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_d", 1247s # (gchar *) "d", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_s", 1247s # (gchar *) "s", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_o", 1247s # (gchar *) "o", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_g", 1247s # (gchar *) "g", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_h", 1247s # (gchar *) "h", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ay", 1247s # (gchar *) "ay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_as", 1247s # (gchar *) "as", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ao", 1247s # (gchar *) "ao", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_aay", 1247s # (gchar *) "aay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_asv", 1247s # (gchar *) "a{sv}", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SignalWithManyArgs", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "signal-with-many-args" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::signal-with-many-args: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_b: Argument. 1247s # * @arg_an_y: Argument. 1247s # * @arg_an_n: Argument. 1247s # * @arg_an_q: Argument. 1247s # * @arg_an_i: Argument. 1247s # * @arg_an_u: Argument. 1247s # * @arg_an_x: Argument. 1247s # * @arg_an_t: Argument. 1247s # * @arg_an_d: Argument. 1247s # * @arg_an_s: Argument. 1247s # * @arg_an_o: Argument. 1247s # * @arg_an_g: Argument. 1247s # * @arg_an_h: Argument. 1247s # * @arg_an_ay: Argument. 1247s # * @arg_an_as: Argument. 1247s # * @arg_an_ao: Argument. 1247s # * @arg_an_aay: Argument. 1247s # * @arg_an_asv: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1247s # g_signal_new ("signal-with-many-args", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1247s # G_TYPE_NONE, 1247s # 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); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_signal_with_many_args: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_b: Argument to pass with the signal. 1247s # * @arg_an_y: Argument to pass with the signal. 1247s # * @arg_an_n: Argument to pass with the signal. 1247s # * @arg_an_q: Argument to pass with the signal. 1247s # * @arg_an_i: Argument to pass with the signal. 1247s # * @arg_an_u: Argument to pass with the signal. 1247s # * @arg_an_x: Argument to pass with the signal. 1247s # * @arg_an_t: Argument to pass with the signal. 1247s # * @arg_an_d: Argument to pass with the signal. 1247s # * @arg_an_s: Argument to pass with the signal. 1247s # * @arg_an_o: Argument to pass with the signal. 1247s # * @arg_an_g: Argument to pass with the signal. 1247s # * @arg_an_h: Argument to pass with the signal. 1247s # * @arg_an_ay: Argument to pass with the signal. 1247s # * @arg_an_as: Argument to pass with the signal. 1247s # * @arg_an_ao: Argument to pass with the signal. 1247s # * @arg_an_aay: Argument to pass with the signal. 1247s # * @arg_an_asv: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SignalWithManyArgs" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_signal_with_many_args ( 1247s # OrgProjectSignalingIface *object, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1247s # OrgProjectSignalingIface *object, 1247s # gboolean arg_an_b, 1247s # guchar arg_an_y, 1247s # gint16 arg_an_n, 1247s # guint16 arg_an_q, 1247s # gint arg_an_i, 1247s # guint arg_an_u, 1247s # gint64 arg_an_x, 1247s # guint64 arg_an_t, 1247s # gdouble arg_an_d, 1247s # const gchar *arg_an_s, 1247s # const gchar *arg_an_o, 1247s # const gchar *arg_an_g, 1247s # GVariant *arg_an_h, 1247s # const gchar *arg_an_ay, 1247s # const gchar *const *arg_an_as, 1247s # const gchar *const *arg_an_ao, 1247s # const gchar *const *arg_an_aay, 1247s # GVariant *arg_an_asv) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1247s # arg_an_b, 1247s # arg_an_y, 1247s # arg_an_n, 1247s # arg_an_q, 1247s # arg_an_i, 1247s # arg_an_u, 1247s # arg_an_x, 1247s # arg_an_t, 1247s # arg_an_d, 1247s # arg_an_s, 1247s # arg_an_o, 1247s # arg_an_g, 1247s # arg_an_h, 1247s # arg_an_ay, 1247s # arg_an_as, 1247s # arg_an_ao, 1247s # arg_an_aay, 1247s # arg_an_asv)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1247s # tmpdir: /tmp/tmpdjfx5n42 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmpdjfx5n42/tmpxu9z6t3s.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdjfx5n42/tmpxu9z6t3s.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static void 1247s # _g_dbus_codegen_marshal_VOID__INT64 ( 1247s # GClosure *closure, 1247s # GValue *return_value G_GNUC_UNUSED, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint G_GNUC_UNUSED, 1247s # void *marshal_data) 1247s # { 1247s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1247s # (void *data1, 1247s # gint64 arg_an_x, 1247s # void *data2); 1247s # _GDbusCodegenMarshalVoid_Int64Func callback; 1247s # GCClosure *cc = (GCClosure*) closure; 1247s # void *data1, *data2; 1247s # 1247s # g_return_if_fail (n_param_values == 2); 1247s # 1247s # if (G_CCLOSURE_SWAP_DATA (closure)) 1247s # { 1247s # data1 = closure->data; 1247s # data2 = g_value_peek_pointer (param_values + 0); 1247s # } 1247s # else 1247s # { 1247s # data1 = g_value_peek_pointer (param_values + 0); 1247s # data2 = closure->data; 1247s # } 1247s # 1247s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1247s # (marshal_data ? marshal_data : cc->callback); 1247s # 1247s # callback (data1, 1247s # g_marshal_value_peek_int64 (param_values + 1), 1247s # data2); 1247s # } 1247s # 1247s # static void 1247s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1247s # GClosure *closure, 1247s # GValue *return_value G_GNUC_UNUSED, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint G_GNUC_UNUSED, 1247s # void *marshal_data) 1247s # { 1247s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1247s # (void *data1, 1247s # guint64 arg_an_t, 1247s # void *data2); 1247s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1247s # GCClosure *cc = (GCClosure*) closure; 1247s # void *data1, *data2; 1247s # 1247s # g_return_if_fail (n_param_values == 2); 1247s # 1247s # if (G_CCLOSURE_SWAP_DATA (closure)) 1247s # { 1247s # data1 = closure->data; 1247s # data2 = g_value_peek_pointer (param_values + 0); 1247s # } 1247s # else 1247s # { 1247s # data1 = g_value_peek_pointer (param_values + 0); 1247s # data2 = closure->data; 1247s # } 1247s # 1247s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1247s # (marshal_data ? marshal_data : cc->callback); 1247s # 1247s # callback (data1, 1247s # g_marshal_value_peek_uint64 (param_values + 1), 1247s # data2); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "NoArgSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "no-arg-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_b", 1247s # (gchar *) "b", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalB", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-b" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_y", 1247s # (gchar *) "y", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalY", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-y" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_n", 1247s # (gchar *) "n", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalN", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-n" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_q", 1247s # (gchar *) "q", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalQ", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-q" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_i", 1247s # (gchar *) "i", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalI", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-i" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_u", 1247s # (gchar *) "u", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalU", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-u" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_x", 1247s # (gchar *) "x", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalX", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-x" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_t", 1247s # (gchar *) "t", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalT", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-t" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_d", 1247s # (gchar *) "d", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalD", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-d" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_s", 1247s # (gchar *) "s", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalS", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-s" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_o", 1247s # (gchar *) "o", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalO", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-o" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_g", 1247s # (gchar *) "g", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalG", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-g" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_h", 1247s # (gchar *) "h", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalH", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-h" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ay", 1247s # (gchar *) "ay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalAY", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-ay" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_as", 1247s # (gchar *) "as", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalAS", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-as" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_ao", 1247s # (gchar *) "ao", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalAO", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-ao" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_aay", 1247s # (gchar *) "aay", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalAAY", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-aay" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "an_asv", 1247s # (gchar *) "a{sv}", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalASV", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-asv" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__UCHAR (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__INT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__UINT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__INT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__UINT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__DOUBLE (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__STRING (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__STRING (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__STRING (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VARIANT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__STRING (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__BOXED (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__BOXED (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__BOXED (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VARIANT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1247s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1247s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1247s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1247s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1247s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1247s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1247s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1247s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1247s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1247s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1247s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1247s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1247s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1247s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1247s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1247s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1247s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1247s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::no-arg-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1247s # g_signal_new ("no-arg-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-b: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_b: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1247s # g_signal_new ("single-arg-signal-b", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_BOOLEAN); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-y: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_y: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1247s # g_signal_new ("single-arg-signal-y", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UCHAR); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-n: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_n: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1247s # g_signal_new ("single-arg-signal-n", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_INT); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-q: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_q: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1247s # g_signal_new ("single-arg-signal-q", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UINT); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-i: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_i: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1247s # g_signal_new ("single-arg-signal-i", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_INT); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-u: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_u: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1247s # g_signal_new ("single-arg-signal-u", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UINT); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-x: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_x: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1247s # g_signal_new ("single-arg-signal-x", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_INT64); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-t: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_t: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1247s # g_signal_new ("single-arg-signal-t", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UINT64); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-d: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_d: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1247s # g_signal_new ("single-arg-signal-d", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_DOUBLE); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-s: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_s: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1247s # g_signal_new ("single-arg-signal-s", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRING); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-o: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_o: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1247s # g_signal_new ("single-arg-signal-o", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRING); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-g: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_g: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1247s # g_signal_new ("single-arg-signal-g", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRING); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-h: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_h: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1247s # g_signal_new ("single-arg-signal-h", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_VARIANT); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-ay: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_ay: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1247s # g_signal_new ("single-arg-signal-ay", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRING); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-as: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_as: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1247s # g_signal_new ("single-arg-signal-as", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRV); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-ao: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_ao: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1247s # g_signal_new ("single-arg-signal-ao", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRV); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-aay: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_aay: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1247s # g_signal_new ("single-arg-signal-aay", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_STRV); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-asv: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_asv: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1247s # g_signal_new ("single-arg-signal-asv", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_VARIANT); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_no_arg_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "NoArgSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_no_arg_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_b: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_b: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalB" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_b ( 1247s # OrgProjectSignalingIface *object, 1247s # gboolean arg_an_b) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_y: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_y: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalY" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_y ( 1247s # OrgProjectSignalingIface *object, 1247s # guchar arg_an_y) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_n: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_n: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalN" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_n ( 1247s # OrgProjectSignalingIface *object, 1247s # gint16 arg_an_n) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_q: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_q: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalQ" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_q ( 1247s # OrgProjectSignalingIface *object, 1247s # guint16 arg_an_q) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_i: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_i: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalI" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_i ( 1247s # OrgProjectSignalingIface *object, 1247s # gint arg_an_i) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_u: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_u: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalU" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_u ( 1247s # OrgProjectSignalingIface *object, 1247s # guint arg_an_u) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_x: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_x: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalX" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_x ( 1247s # OrgProjectSignalingIface *object, 1247s # gint64 arg_an_x) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_t: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_t: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalT" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_t ( 1247s # OrgProjectSignalingIface *object, 1247s # guint64 arg_an_t) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_d: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_d: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalD" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_d ( 1247s # OrgProjectSignalingIface *object, 1247s # gdouble arg_an_d) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_s: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_s: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalS" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_s ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_s) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_o: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_o: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalO" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_o ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_o) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_g: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_g: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalG" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_g ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_g) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_h: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_h: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalH" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_h ( 1247s # OrgProjectSignalingIface *object, 1247s # GVariant *arg_an_h) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_ay: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalAY" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_ay) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_as: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_as: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalAS" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_as ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *const *arg_an_as) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_ao: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalAO" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *const *arg_an_ao) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_aay: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *const *arg_an_aay) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_an_asv: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalASV" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1247s # OrgProjectSignalingIface *object, 1247s # GVariant *arg_an_asv) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1247s # OrgProjectSignalingIface *object, 1247s # gboolean arg_an_b) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1247s # arg_an_b)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1247s # OrgProjectSignalingIface *object, 1247s # guchar arg_an_y) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1247s # arg_an_y)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1247s # OrgProjectSignalingIface *object, 1247s # gint16 arg_an_n) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1247s # arg_an_n)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1247s # OrgProjectSignalingIface *object, 1247s # guint16 arg_an_q) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1247s # arg_an_q)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1247s # OrgProjectSignalingIface *object, 1247s # gint arg_an_i) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1247s # arg_an_i)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1247s # OrgProjectSignalingIface *object, 1247s # guint arg_an_u) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1247s # arg_an_u)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1247s # OrgProjectSignalingIface *object, 1247s # gint64 arg_an_x) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1247s # arg_an_x)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1247s # OrgProjectSignalingIface *object, 1247s # guint64 arg_an_t) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1247s # arg_an_t)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1247s # OrgProjectSignalingIface *object, 1247s # gdouble arg_an_d) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1247s # arg_an_d)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_s) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1247s # arg_an_s)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_o) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1247s # arg_an_o)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_g) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1247s # arg_an_g)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1247s # OrgProjectSignalingIface *object, 1247s # GVariant *arg_an_h) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1247s # arg_an_h)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *arg_an_ay) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1247s # arg_an_ay)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *const *arg_an_as) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1247s # arg_an_as)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *const *arg_an_ao) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1247s # arg_an_ao)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1247s # OrgProjectSignalingIface *object, 1247s # const gchar *const *arg_an_aay) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1247s # arg_an_aay)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1247s # OrgProjectSignalingIface *object, 1247s # GVariant *arg_an_asv) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1247s # arg_an_asv)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1247s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1247s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1247s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1247s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1247s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1247s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1247s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1247s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1247s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1247s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1247s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1247s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1247s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1247s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1247s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1247s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1247s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1247s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1247s # tmpdir: /tmp/tmp9x6ay6ml 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmp9x6ay6ml/tmpzn5dcbfs.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9x6ay6ml/tmpzn5dcbfs.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.UsefulInterface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectUsefulInterface 1247s # * @title: OrgProjectUsefulInterface 1247s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.UsefulInterface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-useful-interface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_useful_interface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_useful_interface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_useful_interface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectUsefulInterface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectUsefulInterfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1247s # */ 1247s # 1247s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectUsefulInterface::simple-signal: 1247s # * @object: A #OrgProjectUsefulInterface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_useful_interface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_emit_simple_signal: 1247s # * @object: A #OrgProjectUsefulInterface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_useful_interface_emit_simple_signal ( 1247s # OrgProjectUsefulInterface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectUsefulInterfaceProxy: 1247s # * 1247s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectUsefulInterfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectUsefulInterfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_useful_interface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1247s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1247s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_useful_interface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # g_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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectUsefulInterface * 1247s # org_project_useful_interface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectUsefulInterface * 1247s # org_project_useful_interface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_useful_interface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_useful_interface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # g_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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectUsefulInterface * 1247s # org_project_useful_interface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectUsefulInterface * 1247s # org_project_useful_interface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectUsefulInterfaceSkeleton: 1247s # * 1247s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectUsefulInterfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_useful_interface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_useful_interface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_useful_interface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1247s # { 1247s # _org_project_useful_interface_skeleton_handle_method_call, 1247s # _org_project_useful_interface_skeleton_handle_get_property, 1247s # _org_project_useful_interface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_useful_interface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_useful_interface_on_signal_simple_signal ( 1247s # OrgProjectUsefulInterface *object) 1247s # { 1247s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_useful_interface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1247s # } 1247s # 1247s # /** 1247s # * org_project_useful_interface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectUsefulInterface * 1247s # org_project_useful_interface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.OtherIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectOtherIface 1247s # * @title: OrgProjectOtherIface 1247s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.OtherIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.OtherIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-other-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_other_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_other_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_other_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectOtherIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.OtherIface. 1247s # */ 1247s # 1247s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectOtherIface::simple-signal: 1247s # * @object: A #OrgProjectOtherIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_other_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectOtherIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_other_iface_emit_simple_signal ( 1247s # OrgProjectOtherIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectOtherIfaceProxy: 1247s # * 1247s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectOtherIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectOtherIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_other_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_other_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherIface * 1247s # org_project_other_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherIface * 1247s # org_project_other_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_other_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_other_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherIface * 1247s # org_project_other_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherIface * 1247s # org_project_other_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectOtherIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectOtherIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_other_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_other_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_other_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1247s # { 1247s # _org_project_other_iface_skeleton_handle_method_call, 1247s # _org_project_other_iface_skeleton_handle_get_property, 1247s # _org_project_other_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_other_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_other_iface_on_signal_simple_signal ( 1247s # OrgProjectOtherIface *object) 1247s # { 1247s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_other_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectOtherIface * 1247s # org_project_other_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1247s # } 1247s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1247s # tmpdir: /tmp/tmpwkjw9wwn 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmpwkjw9wwn/tmpyqb17x4a.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwkjw9wwn/tmpyqb17x4a.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.OtherSignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectOtherSignalingIface 1247s # * @title: OrgProjectOtherSignalingIface 1247s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.OtherSignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-other-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_other_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectOtherSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectOtherSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectOtherSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectOtherSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_other_signaling_iface_emit_simple_signal ( 1247s # OrgProjectOtherSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectOtherSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_other_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherSignalingIface * 1247s # org_project_other_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherSignalingIface * 1247s # org_project_other_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_other_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherSignalingIface * 1247s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectOtherSignalingIface * 1247s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectOtherSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_other_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectOtherSignalingIface *object) 1247s # { 1247s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1247s # } 1247s # 1247s # /** 1247s # * org_project_other_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectOtherSignalingIface * 1247s # org_project_other_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1247s # tmpdir: /tmp/tmpns90ezv9 1247s # codegen: /usr/bin/gdbus-codegen 1247s # /tmp/tmpns90ezv9/tmpjs03vfbh.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpjs03vfbh.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "arg_b", 1247s # (gchar *) "b", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalB", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-b" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-b: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_b: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1247s # g_signal_new ("single-arg-signal-b", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_BOOLEAN); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_b: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_b: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalB" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_b ( 1247s # OrgProjectSignalingIface *object, 1247s # gboolean arg_arg_b) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1247s # OrgProjectSignalingIface *object, 1247s # gboolean arg_arg_b) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1247s # arg_arg_b)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # /tmp/tmpns90ezv9/tmp0f5u5vaf.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp0f5u5vaf.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "arg_y", 1247s # (gchar *) "y", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalY", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-y" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__UCHAR (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-y: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_y: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1247s # g_signal_new ("single-arg-signal-y", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UCHAR); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_y: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_y: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalY" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_y ( 1247s # OrgProjectSignalingIface *object, 1247s # guchar arg_arg_y) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1247s # OrgProjectSignalingIface *object, 1247s # guchar arg_arg_y) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1247s # arg_arg_y)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # /tmp/tmpns90ezv9/tmph_h03b7g.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmph_h03b7g.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "arg_n", 1247s # (gchar *) "n", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalN", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-n" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__INT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-n: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_n: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1247s # g_signal_new ("single-arg-signal-n", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_INT); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_n: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_n: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalN" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_n ( 1247s # OrgProjectSignalingIface *object, 1247s # gint16 arg_arg_n) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1247s # OrgProjectSignalingIface *object, 1247s # gint16 arg_arg_n) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1247s # arg_arg_n)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # /tmp/tmpns90ezv9/tmp_h9ggnr3.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp_h9ggnr3.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "arg_q", 1247s # (gchar *) "q", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalQ", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-q" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__UINT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-q: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_q: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1247s # g_signal_new ("single-arg-signal-q", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UINT); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_q: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_q: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalQ" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_q ( 1247s # OrgProjectSignalingIface *object, 1247s # guint16 arg_arg_q) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1247s # OrgProjectSignalingIface *object, 1247s # guint16 arg_arg_q) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1247s # arg_arg_q)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # /tmp/tmpns90ezv9/tmpfko0lu5r.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpfko0lu5r.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "arg_i", 1247s # (gchar *) "i", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalI", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-i" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__INT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-i: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_i: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1247s # g_signal_new ("single-arg-signal-i", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_INT); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_i: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_i: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalI" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_i ( 1247s # OrgProjectSignalingIface *object, 1247s # gint arg_arg_i) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1247s # OrgProjectSignalingIface *object, 1247s # gint arg_arg_i) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1247s # arg_arg_i)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # /tmp/tmpns90ezv9/tmp9xbfjtgk.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp9xbfjtgk.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "arg_u", 1247s # (gchar *) "u", 1247s # NULL 1247s # }, 1247s # FALSE 1247s # }; 1247s # 1247s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SingleArgSignalU", 1247s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1247s # NULL 1247s # }, 1247s # "single-arg-signal-u" 1247s # }; 1247s # 1247s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1247s # { 1247s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1247s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1247s # NULL 1247s # }; 1247s # 1247s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "org.project.SignalingIface", 1247s # NULL, 1247s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "org-project-signaling-iface", 1247s # }; 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_interface_info: 1247s # * 1247s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1247s # * 1247s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1247s # */ 1247s # GDBusInterfaceInfo * 1247s # org_project_signaling_iface_interface_info (void) 1247s # { 1247s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_override_properties: 1247s # * @klass: The class structure for a #GObject derived class. 1247s # * @property_id_begin: The property id to assign to the first overridden property. 1247s # * 1247s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1247s # * The properties are overridden in the order they are defined. 1247s # * 1247s # * Returns: The last property id. 1247s # */ 1247s # guint 1247s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1247s # { 1247s # return property_id_begin - 1; 1247s # } 1247s # 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_simple_signal ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__VOID (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # inline static void 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1247s # GClosure *closure, 1247s # GValue *return_value, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint, 1247s # void *marshal_data) 1247s # { 1247s # g_cclosure_marshal_VOID__UINT (closure, 1247s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1247s # } 1247s # 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface: 1247s # * 1247s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceIface: 1247s # * @parent_iface: The parent interface. 1247s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1247s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1247s # * 1247s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1247s # */ 1247s # 1247s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1247s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1247s # 1247s # static void 1247s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # /* GObject signals for received D-Bus signals: */ 1247s # /** 1247s # * OrgProjectSignalingIface::simple-signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1247s # g_signal_new ("simple-signal", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_simple_signal, 1247s # G_TYPE_NONE, 1247s # 0); 1247s # 1247s # /** 1247s # * OrgProjectSignalingIface::single-arg-signal-u: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_u: Argument. 1247s # * 1247s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1247s # * 1247s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1247s # */ 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1247s # g_signal_new ("single-arg-signal-u", 1247s # G_TYPE_FROM_INTERFACE (iface), 1247s # G_SIGNAL_RUN_LAST, 1247s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1247s # NULL, 1247s # NULL, 1247s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1247s # G_TYPE_NONE, 1247s # 1, G_TYPE_UINT); 1247s # 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_simple_signal: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * 1247s # * Emits the "SimpleSignal" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_emit_single_arg_signal_u: 1247s # * @object: A #OrgProjectSignalingIface. 1247s # * @arg_arg_u: Argument to pass with the signal. 1247s # * 1247s # * Emits the "SingleArgSignalU" D-Bus signal. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_emit_single_arg_signal_u ( 1247s # OrgProjectSignalingIface *object, 1247s # guint arg_arg_u) 1247s # { 1247s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxy: 1247s # * 1247s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceProxyClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceProxy. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceProxyPrivate 1247s # { 1247s # GData *qdata; 1247s # }; 1247s # 1247s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_proxy_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1247s # g_datalist_clear (&proxy->priv->qdata); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1247s # guint prop_id G_GNUC_UNUSED, 1247s # const GValue *value G_GNUC_UNUSED, 1247s # GParamSpec *pspec G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1247s # const gchar *sender_name G_GNUC_UNUSED, 1247s # const gchar *signal_name, 1247s # GVariant *parameters) 1247s # { 1247s # _ExtendedGDBusSignalInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # gsize n; 1247s # guint signal_id; 1247s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1247s # if (info == NULL) 1247s # return; 1247s # num_params = g_variant_n_children (parameters); 1247s # paramv = g_new0 (GValue, num_params + 1); 1247s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[0], proxy); 1247s # g_variant_iter_init (&iter, parameters); 1247s # n = 1; 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_signal_emitv (paramv, signal_id, 0, NULL); 1247s # for (n = 0; n < num_params + 1; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1247s # GVariant *changed_properties, 1247s # const gchar *const *invalidated_properties) 1247s # { 1247s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1247s # guint n; 1247s # const gchar *key; 1247s # GVariantIter *iter; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # g_variant_get (changed_properties, "a{sv}", &iter); 1247s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1247s # g_datalist_remove_data (&proxy->priv->qdata, key); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # g_variant_iter_free (iter); 1247s # for (n = 0; invalidated_properties[n] != NULL; n++) 1247s # { 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1247s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1247s # if (info != NULL) 1247s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1247s # } 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1247s # #else 1247s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1247s # #endif 1247s # 1247s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusProxyClass *proxy_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1247s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1247s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1247s # 1247s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1247s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1247s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_sync: 1247s # * @connection: A #GDBusConnection. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_sync ( 1247s # GDBusConnection *connection, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1247s # * @user_data: User data to pass to @callback. 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1247s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1247s # */ 1247s # void 1247s # org_project_signaling_iface_proxy_new_for_bus ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GAsyncReadyCallback callback, 1247s # gpointer user_data) 1247s # { 1247s # 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); 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1247s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1247s # GAsyncResult *res, 1247s # GError **error) 1247s # { 1247s # GObject *ret; 1247s # GObject *source_object; 1247s # source_object = g_async_result_get_source_object (res); 1247s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1247s # g_object_unref (source_object); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1247s # * @bus_type: A #GBusType. 1247s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1247s # * @name: A bus name (well-known or unique). 1247s # * @object_path: An object path. 1247s # * @cancellable: (nullable): A #GCancellable or %NULL. 1247s # * @error: Return location for error or %NULL 1247s # * 1247s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1247s # * 1247s # * The calling thread is blocked until a reply is received. 1247s # * 1247s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1247s # GBusType bus_type, 1247s # GDBusProxyFlags flags, 1247s # const gchar *name, 1247s # const gchar *object_path, 1247s # GCancellable *cancellable, 1247s # GError **error) 1247s # { 1247s # GInitable *ret; 1247s # 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); 1247s # if (ret != NULL) 1247s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1247s # else 1247s # return NULL; 1247s # } 1247s # 1247s # 1247s # /* ------------------------------------------------------------------------ */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeleton: 1247s # * 1247s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1247s # */ 1247s # 1247s # /** 1247s # * OrgProjectSignalingIfaceSkeletonClass: 1247s # * @parent_class: The parent class. 1247s # * 1247s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1247s # */ 1247s # 1247s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1247s # { 1247s # GValue *properties; 1247s # GList *changed_properties; 1247s # GSource *changed_properties_idle_source; 1247s # GMainContext *context; 1247s # GMutex lock; 1247s # }; 1247s # 1247s # static void 1247s # _org_project_signaling_iface_skeleton_handle_method_call ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name, 1247s # const gchar *method_name, 1247s # GVariant *parameters, 1247s # GDBusMethodInvocation *invocation, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # _ExtendedGDBusMethodInfo *info; 1247s # GVariantIter iter; 1247s # GVariant *child; 1247s # GValue *paramv; 1247s # gsize num_params; 1247s # guint num_extra; 1247s # gsize n; 1247s # guint signal_id; 1247s # GValue return_value = G_VALUE_INIT; 1247s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1247s # g_assert (info != NULL); 1247s # num_params = g_variant_n_children (parameters); 1247s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1247s # n = 0; 1247s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_set_object (¶mv[n++], skeleton); 1247s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1247s # g_value_set_object (¶mv[n++], invocation); 1247s # if (info->pass_fdlist) 1247s # { 1247s # #ifdef G_OS_UNIX 1247s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1247s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1247s # #else 1247s # g_assert_not_reached (); 1247s # #endif 1247s # } 1247s # g_variant_iter_init (&iter, parameters); 1247s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1247s # { 1247s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1247s # if (arg_info->use_gvariant) 1247s # { 1247s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1247s # g_value_set_variant (¶mv[n], child); 1247s # n++; 1247s # } 1247s # else 1247s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1247s # g_variant_unref (child); 1247s # } 1247s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1247s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1247s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1247s # if (!g_value_get_boolean (&return_value)) 1247s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1247s # g_value_unset (&return_value); 1247s # for (n = 0; n < num_params + num_extra; n++) 1247s # g_value_unset (¶mv[n]); 1247s # g_free (paramv); 1247s # } 1247s # 1247s # static GVariant * 1247s # _org_project_signaling_iface_skeleton_handle_get_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # GVariant *ret; 1247s # ret = NULL; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # g_value_init (&value, pspec->value_type); 1247s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1247s # g_value_unset (&value); 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _org_project_signaling_iface_skeleton_handle_set_property ( 1247s # GDBusConnection *connection G_GNUC_UNUSED, 1247s # const gchar *sender G_GNUC_UNUSED, 1247s # const gchar *object_path G_GNUC_UNUSED, 1247s # const gchar *interface_name G_GNUC_UNUSED, 1247s # const gchar *property_name, 1247s # GVariant *variant, 1247s # GError **error, 1247s # gpointer user_data) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1247s # GValue value = G_VALUE_INIT; 1247s # GParamSpec *pspec; 1247s # _ExtendedGDBusPropertyInfo *info; 1247s # gboolean ret; 1247s # ret = FALSE; 1247s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1247s # g_assert (info != NULL); 1247s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1247s # if (pspec == NULL) 1247s # { 1247s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1247s # } 1247s # else 1247s # { 1247s # if (info->use_gvariant) 1247s # g_value_set_variant (&value, variant); 1247s # else 1247s # g_dbus_gvariant_to_gvalue (variant, &value); 1247s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1247s # g_value_unset (&value); 1247s # ret = TRUE; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1247s # { 1247s # _org_project_signaling_iface_skeleton_handle_method_call, 1247s # _org_project_signaling_iface_skeleton_handle_get_property, 1247s # _org_project_signaling_iface_skeleton_handle_set_property, 1247s # {NULL} 1247s # }; 1247s # 1247s # static GDBusInterfaceInfo * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return org_project_signaling_iface_interface_info (); 1247s # } 1247s # 1247s # static GDBusInterfaceVTable * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1247s # { 1247s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1247s # } 1247s # 1247s # static GVariant * 1247s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1247s # 1247s # GVariantBuilder builder; 1247s # guint n; 1247s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1247s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1247s # goto out; 1247s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1247s # { 1247s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1247s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1247s # { 1247s # GVariant *value; 1247s # 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); 1247s # if (value != NULL) 1247s # { 1247s # g_variant_take_ref (value); 1247s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1247s # g_variant_unref (value); 1247s # } 1247s # } 1247s # } 1247s # out: 1247s # return g_variant_builder_end (&builder); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1247s # { 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_simple_signal ( 1247s # OrgProjectSignalingIface *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void 1247s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1247s # OrgProjectSignalingIface *object, 1247s # guint arg_arg_u) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # 1247s # GList *connections, *l; 1247s # GVariant *signal_variant; 1247s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1247s # 1247s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1247s # arg_arg_u)); 1247s # for (l = connections; l != NULL; l = l->next) 1247s # { 1247s # GDBusConnection *connection = l->data; 1247s # g_dbus_connection_emit_signal (connection, 1247s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1247s # signal_variant, NULL); 1247s # } 1247s # g_variant_unref (signal_variant); 1247s # g_list_free_full (connections, g_object_unref); 1247s # } 1247s # 1247s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #else 1247s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1247s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1247s # 1247s # #endif 1247s # static void 1247s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1247s # { 1247s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1247s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1247s # if (skeleton->priv->changed_properties_idle_source != NULL) 1247s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1247s # g_main_context_unref (skeleton->priv->context); 1247s # g_mutex_clear (&skeleton->priv->lock); 1247s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1247s # { 1247s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1247s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1247s # #else 1247s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1247s # #endif 1247s # 1247s # g_mutex_init (&skeleton->priv->lock); 1247s # skeleton->priv->context = g_main_context_ref_thread_default (); 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1247s # { 1247s # GObjectClass *gobject_class; 1247s # GDBusInterfaceSkeletonClass *skeleton_class; 1247s # 1247s # gobject_class = G_OBJECT_CLASS (klass); 1247s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1247s # 1247s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1247s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1247s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1247s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1247s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1247s # 1247s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1247s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1247s # #endif 1247s # } 1247s # 1247s # static void 1247s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1247s # { 1247s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1247s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1247s # } 1247s # 1247s # /** 1247s # * org_project_signaling_iface_skeleton_new: 1247s # * 1247s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1247s # * 1247s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1247s # */ 1247s # OrgProjectSignalingIface * 1247s # org_project_signaling_iface_skeleton_new (void) 1247s # { 1247s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1247s # } 1247s # /tmp/tmpns90ezv9/tmp5w87eh3k.xml: 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # 1247s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp5w87eh3k.xml', '--output', '-', '--body'] 1247s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1247s # Output: /* 1247s # * This file is generated by gdbus-codegen, do not modify it. 1247s # * 1247s # * The license of this code is the same as for the D-Bus interface description 1247s # * it was derived from. Note that it links to GLib, so must comply with the 1247s # * LGPL linking clauses. 1247s # */ 1247s # 1247s # #ifdef HAVE_CONFIG_H 1247s # # include "config.h" 1247s # #endif 1247s # 1247s # #include 1247s # #ifdef G_OS_UNIX 1247s # # include 1247s # #endif 1247s # 1247s # #ifdef G_ENABLE_DEBUG 1247s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1247s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1247s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1247s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1247s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1247s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1247s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1247s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1247s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1247s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1247s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1247s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1247s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1247s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1247s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1247s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1247s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1247s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1247s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1247s # #else /* !G_ENABLE_DEBUG */ 1247s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1247s # * Do not access GValues directly in your code. Instead, use the 1247s # * g_value_get_*() functions 1247s # */ 1247s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1247s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1247s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1247s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1247s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1247s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1247s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1247s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1247s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1247s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1247s # #endif /* !G_ENABLE_DEBUG */ 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusArgInfo parent_struct; 1247s # gboolean use_gvariant; 1247s # } _ExtendedGDBusArgInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusMethodInfo parent_struct; 1247s # const gchar *signal_name; 1247s # gboolean pass_fdlist; 1247s # } _ExtendedGDBusMethodInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusSignalInfo parent_struct; 1247s # const gchar *signal_name; 1247s # } _ExtendedGDBusSignalInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusPropertyInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # guint use_gvariant : 1; 1247s # guint emits_changed_signal : 1; 1247s # } _ExtendedGDBusPropertyInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # GDBusInterfaceInfo parent_struct; 1247s # const gchar *hyphen_name; 1247s # } _ExtendedGDBusInterfaceInfo; 1247s # 1247s # typedef struct 1247s # { 1247s # const _ExtendedGDBusPropertyInfo *info; 1247s # guint prop_id; 1247s # GValue orig_value; /* the value before the change */ 1247s # } ChangedProperty; 1247s # 1247s # static void 1247s # _changed_property_free (ChangedProperty *data) 1247s # { 1247s # g_value_unset (&data->orig_value); 1247s # g_free (data); 1247s # } 1247s # 1247s # static gboolean 1247s # _g_strv_equal0 (gchar **a, gchar **b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # guint n; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # if (g_strv_length (a) != g_strv_length (b)) 1247s # goto out; 1247s # for (n = 0; a[n] != NULL; n++) 1247s # if (g_strcmp0 (a[n], b[n]) != 0) 1247s # goto out; 1247s # ret = TRUE; 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # static gboolean 1247s # _g_variant_equal0 (GVariant *a, GVariant *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # if (a == NULL && b == NULL) 1247s # { 1247s # ret = TRUE; 1247s # goto out; 1247s # } 1247s # if (a == NULL || b == NULL) 1247s # goto out; 1247s # ret = g_variant_equal (a, b); 1247s # out: 1247s # return ret; 1247s # } 1247s # 1247s # G_GNUC_UNUSED static gboolean 1247s # _g_value_equal (const GValue *a, const GValue *b) 1247s # { 1247s # gboolean ret = FALSE; 1247s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1247s # switch (G_VALUE_TYPE (a)) 1247s # { 1247s # case G_TYPE_BOOLEAN: 1247s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1247s # break; 1247s # case G_TYPE_UCHAR: 1247s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1247s # break; 1247s # case G_TYPE_INT: 1247s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1247s # break; 1247s # case G_TYPE_UINT: 1247s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1247s # break; 1247s # case G_TYPE_INT64: 1247s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1247s # break; 1247s # case G_TYPE_UINT64: 1247s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1247s # break; 1247s # case G_TYPE_DOUBLE: 1247s # { 1247s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1247s # gdouble da = g_value_get_double (a); 1247s # gdouble db = g_value_get_double (b); 1247s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1247s # } 1247s # break; 1247s # case G_TYPE_STRING: 1247s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1247s # break; 1247s # case G_TYPE_VARIANT: 1247s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1247s # break; 1247s # default: 1247s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1247s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1247s # else 1247s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1247s # break; 1247s # } 1247s # return ret; 1247s # } 1247s # 1247s # static void 1247s # _g_dbus_codegen_marshal_VOID__INT64 ( 1247s # GClosure *closure, 1247s # GValue *return_value G_GNUC_UNUSED, 1247s # unsigned int n_param_values, 1247s # const GValue *param_values, 1247s # void *invocation_hint G_GNUC_UNUSED, 1247s # void *marshal_data) 1247s # { 1247s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1247s # (void *data1, 1247s # gint64 arg_arg_x, 1247s # void *data2); 1247s # _GDbusCodegenMarshalVoid_Int64Func callback; 1247s # GCClosure *cc = (GCClosure*) closure; 1247s # void *data1, *data2; 1247s # 1247s # g_return_if_fail (n_param_values == 2); 1247s # 1247s # if (G_CCLOSURE_SWAP_DATA (closure)) 1247s # { 1247s # data1 = closure->data; 1247s # data2 = g_value_peek_pointer (param_values + 0); 1247s # } 1247s # else 1247s # { 1247s # data1 = g_value_peek_pointer (param_values + 0); 1247s # data2 = closure->data; 1247s # } 1247s # 1247s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1247s # (marshal_data ? marshal_data : cc->callback); 1247s # 1247s # callback (data1, 1247s # g_marshal_value_peek_int64 (param_values + 1), 1247s # data2); 1247s # } 1247s # 1247s # /* ------------------------------------------------------------------------ 1247s # * Code for interface org.project.SignalingIface 1247s # * ------------------------------------------------------------------------ 1247s # */ 1247s # 1247s # /** 1247s # * SECTION:OrgProjectSignalingIface 1247s # * @title: OrgProjectSignalingIface 1247s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1247s # * 1247s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1247s # */ 1247s # 1247s # enum 1247s # { 1247s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1247s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1247s # }; 1247s # 1247s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1247s # 1247s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1247s # 1247s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1247s # { 1247s # { 1247s # -1, 1247s # (gchar *) "SimpleSignal", 1247s # NULL, 1247s # NULL 1247s # }, 1247s # "simple-signal" 1247s # }; 1247s # 1247s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1247s # { 1247s # { 1247s # -1, 1248s # (gchar *) "arg_x", 1248s # (gchar *) "x", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalX", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-x" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-x: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_x: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1248s # g_signal_new ("single-arg-signal-x", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_INT64); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_x: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_x: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalX" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_x ( 1248s # OrgProjectSignalingIface *object, 1248s # gint64 arg_arg_x) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1248s # OrgProjectSignalingIface *object, 1248s # gint64 arg_arg_x) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1248s # arg_arg_x)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmpjt6l2xk0.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpjt6l2xk0.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static void 1248s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1248s # GClosure *closure, 1248s # GValue *return_value G_GNUC_UNUSED, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint G_GNUC_UNUSED, 1248s # void *marshal_data) 1248s # { 1248s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1248s # (void *data1, 1248s # guint64 arg_arg_t, 1248s # void *data2); 1248s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1248s # GCClosure *cc = (GCClosure*) closure; 1248s # void *data1, *data2; 1248s # 1248s # g_return_if_fail (n_param_values == 2); 1248s # 1248s # if (G_CCLOSURE_SWAP_DATA (closure)) 1248s # { 1248s # data1 = closure->data; 1248s # data2 = g_value_peek_pointer (param_values + 0); 1248s # } 1248s # else 1248s # { 1248s # data1 = g_value_peek_pointer (param_values + 0); 1248s # data2 = closure->data; 1248s # } 1248s # 1248s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1248s # (marshal_data ? marshal_data : cc->callback); 1248s # 1248s # callback (data1, 1248s # g_marshal_value_peek_uint64 (param_values + 1), 1248s # data2); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_t", 1248s # (gchar *) "t", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalT", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-t" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-t: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_t: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1248s # g_signal_new ("single-arg-signal-t", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_UINT64); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_t: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_t: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalT" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_t ( 1248s # OrgProjectSignalingIface *object, 1248s # guint64 arg_arg_t) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1248s # OrgProjectSignalingIface *object, 1248s # guint64 arg_arg_t) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1248s # arg_arg_t)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmp_i0bjemc.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp_i0bjemc.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_d", 1248s # (gchar *) "d", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalD", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-d" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__DOUBLE (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-d: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_d: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1248s # g_signal_new ("single-arg-signal-d", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_DOUBLE); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_d: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_d: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalD" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_d ( 1248s # OrgProjectSignalingIface *object, 1248s # gdouble arg_arg_d) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1248s # OrgProjectSignalingIface *object, 1248s # gdouble arg_arg_d) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1248s # arg_arg_d)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmpgxy66lrg.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpgxy66lrg.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_s", 1248s # (gchar *) "s", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalS", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-s" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__STRING (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-s: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_s: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1248s # g_signal_new ("single-arg-signal-s", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRING); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_s: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_s: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalS" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_s ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_s) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_s) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1248s # arg_arg_s)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmpz_ifkxsg.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpz_ifkxsg.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_o", 1248s # (gchar *) "o", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalO", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-o" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__STRING (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-o: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_o: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1248s # g_signal_new ("single-arg-signal-o", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRING); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_o: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_o: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalO" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_o ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_o) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_o) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1248s # arg_arg_o)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmp7d67_o5k.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp7d67_o5k.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_g", 1248s # (gchar *) "g", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalG", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-g" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__STRING (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-g: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_g: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1248s # g_signal_new ("single-arg-signal-g", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRING); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_g: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_g: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalG" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_g ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_g) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_g) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1248s # arg_arg_g)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmpmu93hqdt.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpmu93hqdt.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_h", 1248s # (gchar *) "h", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalH", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-h" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VARIANT (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-h: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_h: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1248s # g_signal_new ("single-arg-signal-h", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_VARIANT); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_h: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_h: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalH" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_h ( 1248s # OrgProjectSignalingIface *object, 1248s # GVariant *arg_arg_h) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1248s # OrgProjectSignalingIface *object, 1248s # GVariant *arg_arg_h) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1248s # arg_arg_h)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmp2dt0hcix.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp2dt0hcix.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_ay", 1248s # (gchar *) "ay", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalAy", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-ay" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__STRING (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-ay: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_ay: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1248s # g_signal_new ("single-arg-signal-ay", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRING); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_ay: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalAy" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_ay) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *arg_arg_ay) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1248s # arg_arg_ay)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmpwk_2rxu9.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpwk_2rxu9.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_as", 1248s # (gchar *) "as", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalAs", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-as" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__BOXED (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-as: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_as: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1248s # g_signal_new ("single-arg-signal-as", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRV); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_as: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_as: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalAs" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_as ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *const *arg_arg_as) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *const *arg_arg_as) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1248s # arg_arg_as)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmpvcoy0xi7.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmpvcoy0xi7.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_ao", 1248s # (gchar *) "ao", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalAo", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-ao" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__BOXED (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-ao: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_ao: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1248s # g_signal_new ("single-arg-signal-ao", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRV); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_ao: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalAo" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *const *arg_arg_ao) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *const *arg_arg_ao) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1248s # arg_arg_ao)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmp72_cpxrm.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp72_cpxrm.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_aay", 1248s # (gchar *) "aay", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalAay", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-aay" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__BOXED (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-aay: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_aay: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1248s # g_signal_new ("single-arg-signal-aay", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_STRV); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_aay: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalAay" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *const *arg_arg_aay) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1248s # OrgProjectSignalingIface *object, 1248s # const gchar *const *arg_arg_aay) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1248s # arg_arg_aay)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s # /tmp/tmpns90ezv9/tmp69htwztb.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpns90ezv9/tmp69htwztb.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "arg_asv", 1248s # (gchar *) "a{sv}", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SingleArgSignalAsv", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "single-arg-signal-asv" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VARIANT (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::single-arg-signal-asv: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_asv: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1248s # g_signal_new ("single-arg-signal-asv", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1248s # G_TYPE_NONE, 1248s # 1, G_TYPE_VARIANT); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_arg_asv: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1248s # OrgProjectSignalingIface *object, 1248s # GVariant *arg_arg_asv) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1248s # OrgProjectSignalingIface *object, 1248s # GVariant *arg_arg_asv) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1248s # arg_arg_asv)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1248s # tmpdir: /tmp/tmpp9u9f9cu 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpp9u9f9cu/tmpt3jgtttl.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp9u9f9cu/tmpt3jgtttl.xml', '--output', '-', '--body'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifdef HAVE_CONFIG_H 1248s # # include "config.h" 1248s # #endif 1248s # 1248s # #include 1248s # #ifdef G_OS_UNIX 1248s # # include 1248s # #endif 1248s # 1248s # #ifdef G_ENABLE_DEBUG 1248s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1248s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1248s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1248s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1248s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1248s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1248s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1248s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1248s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1248s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1248s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1248s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1248s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1248s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1248s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1248s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1248s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1248s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1248s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1248s # #else /* !G_ENABLE_DEBUG */ 1248s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1248s # * Do not access GValues directly in your code. Instead, use the 1248s # * g_value_get_*() functions 1248s # */ 1248s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1248s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1248s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1248s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1248s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1248s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1248s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1248s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1248s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1248s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1248s # #endif /* !G_ENABLE_DEBUG */ 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusArgInfo parent_struct; 1248s # gboolean use_gvariant; 1248s # } _ExtendedGDBusArgInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusMethodInfo parent_struct; 1248s # const gchar *signal_name; 1248s # gboolean pass_fdlist; 1248s # } _ExtendedGDBusMethodInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusSignalInfo parent_struct; 1248s # const gchar *signal_name; 1248s # } _ExtendedGDBusSignalInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusPropertyInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # guint use_gvariant : 1; 1248s # guint emits_changed_signal : 1; 1248s # } _ExtendedGDBusPropertyInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # GDBusInterfaceInfo parent_struct; 1248s # const gchar *hyphen_name; 1248s # } _ExtendedGDBusInterfaceInfo; 1248s # 1248s # typedef struct 1248s # { 1248s # const _ExtendedGDBusPropertyInfo *info; 1248s # guint prop_id; 1248s # GValue orig_value; /* the value before the change */ 1248s # } ChangedProperty; 1248s # 1248s # static void 1248s # _changed_property_free (ChangedProperty *data) 1248s # { 1248s # g_value_unset (&data->orig_value); 1248s # g_free (data); 1248s # } 1248s # 1248s # static gboolean 1248s # _g_strv_equal0 (gchar **a, gchar **b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # guint n; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # if (g_strv_length (a) != g_strv_length (b)) 1248s # goto out; 1248s # for (n = 0; a[n] != NULL; n++) 1248s # if (g_strcmp0 (a[n], b[n]) != 0) 1248s # goto out; 1248s # ret = TRUE; 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _g_variant_equal0 (GVariant *a, GVariant *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # if (a == NULL && b == NULL) 1248s # { 1248s # ret = TRUE; 1248s # goto out; 1248s # } 1248s # if (a == NULL || b == NULL) 1248s # goto out; 1248s # ret = g_variant_equal (a, b); 1248s # out: 1248s # return ret; 1248s # } 1248s # 1248s # G_GNUC_UNUSED static gboolean 1248s # _g_value_equal (const GValue *a, const GValue *b) 1248s # { 1248s # gboolean ret = FALSE; 1248s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1248s # switch (G_VALUE_TYPE (a)) 1248s # { 1248s # case G_TYPE_BOOLEAN: 1248s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1248s # break; 1248s # case G_TYPE_UCHAR: 1248s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1248s # break; 1248s # case G_TYPE_INT: 1248s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1248s # break; 1248s # case G_TYPE_UINT: 1248s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1248s # break; 1248s # case G_TYPE_INT64: 1248s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1248s # break; 1248s # case G_TYPE_UINT64: 1248s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1248s # break; 1248s # case G_TYPE_DOUBLE: 1248s # { 1248s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1248s # gdouble da = g_value_get_double (a); 1248s # gdouble db = g_value_get_double (b); 1248s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1248s # } 1248s # break; 1248s # case G_TYPE_STRING: 1248s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1248s # break; 1248s # case G_TYPE_VARIANT: 1248s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1248s # break; 1248s # default: 1248s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1248s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1248s # else 1248s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1248s # break; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static void 1248s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1248s # GClosure *closure, 1248s # GValue *return_value G_GNUC_UNUSED, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint G_GNUC_UNUSED, 1248s # void *marshal_data) 1248s # { 1248s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1248s # (void *data1, 1248s # gboolean arg_an_b, 1248s # guchar arg_an_y, 1248s # gint16 arg_an_n, 1248s # guint16 arg_an_q, 1248s # gint arg_an_i, 1248s # guint arg_an_u, 1248s # gint64 arg_an_x, 1248s # guint64 arg_an_t, 1248s # gdouble arg_an_d, 1248s # const gchar *arg_an_s, 1248s # const gchar *arg_an_o, 1248s # const gchar *arg_an_g, 1248s # GVariant *arg_an_h, 1248s # const gchar *arg_an_ay, 1248s # const gchar *const *arg_an_as, 1248s # const gchar *const *arg_an_ao, 1248s # const gchar *const *arg_an_aay, 1248s # GVariant *arg_an_asv, 1248s # void *data2); 1248s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1248s # GCClosure *cc = (GCClosure*) closure; 1248s # void *data1, *data2; 1248s # 1248s # g_return_if_fail (n_param_values == 19); 1248s # 1248s # if (G_CCLOSURE_SWAP_DATA (closure)) 1248s # { 1248s # data1 = closure->data; 1248s # data2 = g_value_peek_pointer (param_values + 0); 1248s # } 1248s # else 1248s # { 1248s # data1 = g_value_peek_pointer (param_values + 0); 1248s # data2 = closure->data; 1248s # } 1248s # 1248s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1248s # (marshal_data ? marshal_data : cc->callback); 1248s # 1248s # callback (data1, 1248s # g_marshal_value_peek_boolean (param_values + 1), 1248s # g_marshal_value_peek_uchar (param_values + 2), 1248s # g_marshal_value_peek_int (param_values + 3), 1248s # g_marshal_value_peek_uint (param_values + 4), 1248s # g_marshal_value_peek_int (param_values + 5), 1248s # g_marshal_value_peek_uint (param_values + 6), 1248s # g_marshal_value_peek_int64 (param_values + 7), 1248s # g_marshal_value_peek_uint64 (param_values + 8), 1248s # g_marshal_value_peek_double (param_values + 9), 1248s # g_marshal_value_peek_string (param_values + 10), 1248s # g_marshal_value_peek_string (param_values + 11), 1248s # g_marshal_value_peek_string (param_values + 12), 1248s # g_marshal_value_peek_variant (param_values + 13), 1248s # g_marshal_value_peek_string (param_values + 14), 1248s # g_marshal_value_peek_boxed (param_values + 15), 1248s # g_marshal_value_peek_boxed (param_values + 16), 1248s # g_marshal_value_peek_boxed (param_values + 17), 1248s # g_marshal_value_peek_variant (param_values + 18), 1248s # data2); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ 1248s # * Code for interface org.project.SignalingIface 1248s # * ------------------------------------------------------------------------ 1248s # */ 1248s # 1248s # /** 1248s # * SECTION:OrgProjectSignalingIface 1248s # * @title: OrgProjectSignalingIface 1248s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1248s # * 1248s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1248s # */ 1248s # 1248s # enum 1248s # { 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1248s # }; 1248s # 1248s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1248s # 1248s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SimpleSignal", 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "simple-signal" 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_b", 1248s # (gchar *) "b", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_y", 1248s # (gchar *) "y", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_n", 1248s # (gchar *) "n", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_q", 1248s # (gchar *) "q", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_i", 1248s # (gchar *) "i", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_u", 1248s # (gchar *) "u", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_x", 1248s # (gchar *) "x", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_t", 1248s # (gchar *) "t", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_d", 1248s # (gchar *) "d", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_s", 1248s # (gchar *) "s", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_o", 1248s # (gchar *) "o", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_g", 1248s # (gchar *) "g", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_h", 1248s # (gchar *) "h", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_ay", 1248s # (gchar *) "ay", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_as", 1248s # (gchar *) "as", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_ao", 1248s # (gchar *) "ao", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_aay", 1248s # (gchar *) "aay", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "an_asv", 1248s # (gchar *) "a{sv}", 1248s # NULL 1248s # }, 1248s # FALSE 1248s # }; 1248s # 1248s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "SignalWithManyArgs", 1248s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1248s # NULL 1248s # }, 1248s # "signal-with-many-args" 1248s # }; 1248s # 1248s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1248s # { 1248s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1248s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1248s # NULL 1248s # }; 1248s # 1248s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1248s # { 1248s # { 1248s # -1, 1248s # (gchar *) "org.project.SignalingIface", 1248s # NULL, 1248s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1248s # NULL, 1248s # NULL 1248s # }, 1248s # "org-project-signaling-iface", 1248s # }; 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_interface_info: 1248s # * 1248s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1248s # * 1248s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1248s # */ 1248s # GDBusInterfaceInfo * 1248s # org_project_signaling_iface_interface_info (void) 1248s # { 1248s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_override_properties: 1248s # * @klass: The class structure for a #GObject derived class. 1248s # * @property_id_begin: The property id to assign to the first overridden property. 1248s # * 1248s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1248s # * The properties are overridden in the order they are defined. 1248s # * 1248s # * Returns: The last property id. 1248s # */ 1248s # guint 1248s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1248s # { 1248s # return property_id_begin - 1; 1248s # } 1248s # 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_simple_signal ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # g_cclosure_marshal_VOID__VOID (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # inline static void 1248s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1248s # GClosure *closure, 1248s # GValue *return_value, 1248s # unsigned int n_param_values, 1248s # const GValue *param_values, 1248s # void *invocation_hint, 1248s # void *marshal_data) 1248s # { 1248s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1248s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1248s # } 1248s # 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface: 1248s # * 1248s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceIface: 1248s # * @parent_iface: The parent interface. 1248s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1248s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1248s # * 1248s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1248s # */ 1248s # 1248s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1248s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1248s # 1248s # static void 1248s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # /* GObject signals for received D-Bus signals: */ 1248s # /** 1248s # * OrgProjectSignalingIface::simple-signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1248s # g_signal_new ("simple-signal", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_simple_signal, 1248s # G_TYPE_NONE, 1248s # 0); 1248s # 1248s # /** 1248s # * OrgProjectSignalingIface::signal-with-many-args: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_an_b: Argument. 1248s # * @arg_an_y: Argument. 1248s # * @arg_an_n: Argument. 1248s # * @arg_an_q: Argument. 1248s # * @arg_an_i: Argument. 1248s # * @arg_an_u: Argument. 1248s # * @arg_an_x: Argument. 1248s # * @arg_an_t: Argument. 1248s # * @arg_an_d: Argument. 1248s # * @arg_an_s: Argument. 1248s # * @arg_an_o: Argument. 1248s # * @arg_an_g: Argument. 1248s # * @arg_an_h: Argument. 1248s # * @arg_an_ay: Argument. 1248s # * @arg_an_as: Argument. 1248s # * @arg_an_ao: Argument. 1248s # * @arg_an_aay: Argument. 1248s # * @arg_an_asv: Argument. 1248s # * 1248s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1248s # * 1248s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1248s # */ 1248s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1248s # g_signal_new ("signal-with-many-args", 1248s # G_TYPE_FROM_INTERFACE (iface), 1248s # G_SIGNAL_RUN_LAST, 1248s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1248s # NULL, 1248s # NULL, 1248s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1248s # G_TYPE_NONE, 1248s # 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); 1248s # 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_simple_signal: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * 1248s # * Emits the "SimpleSignal" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_emit_signal_with_many_args: 1248s # * @object: A #OrgProjectSignalingIface. 1248s # * @arg_an_b: Argument to pass with the signal. 1248s # * @arg_an_y: Argument to pass with the signal. 1248s # * @arg_an_n: Argument to pass with the signal. 1248s # * @arg_an_q: Argument to pass with the signal. 1248s # * @arg_an_i: Argument to pass with the signal. 1248s # * @arg_an_u: Argument to pass with the signal. 1248s # * @arg_an_x: Argument to pass with the signal. 1248s # * @arg_an_t: Argument to pass with the signal. 1248s # * @arg_an_d: Argument to pass with the signal. 1248s # * @arg_an_s: Argument to pass with the signal. 1248s # * @arg_an_o: Argument to pass with the signal. 1248s # * @arg_an_g: Argument to pass with the signal. 1248s # * @arg_an_h: Argument to pass with the signal. 1248s # * @arg_an_ay: Argument to pass with the signal. 1248s # * @arg_an_as: Argument to pass with the signal. 1248s # * @arg_an_ao: Argument to pass with the signal. 1248s # * @arg_an_aay: Argument to pass with the signal. 1248s # * @arg_an_asv: Argument to pass with the signal. 1248s # * 1248s # * Emits the "SignalWithManyArgs" D-Bus signal. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_emit_signal_with_many_args ( 1248s # OrgProjectSignalingIface *object, 1248s # gboolean arg_an_b, 1248s # guchar arg_an_y, 1248s # gint16 arg_an_n, 1248s # guint16 arg_an_q, 1248s # gint arg_an_i, 1248s # guint arg_an_u, 1248s # gint64 arg_an_x, 1248s # guint64 arg_an_t, 1248s # gdouble arg_an_d, 1248s # const gchar *arg_an_s, 1248s # const gchar *arg_an_o, 1248s # const gchar *arg_an_g, 1248s # GVariant *arg_an_h, 1248s # const gchar *arg_an_ay, 1248s # const gchar *const *arg_an_as, 1248s # const gchar *const *arg_an_ao, 1248s # const gchar *const *arg_an_aay, 1248s # GVariant *arg_an_asv) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxy: 1248s # * 1248s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceProxyClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceProxy. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceProxyPrivate 1248s # { 1248s # GData *qdata; 1248s # }; 1248s # 1248s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_proxy_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1248s # g_datalist_clear (&proxy->priv->qdata); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1248s # guint prop_id G_GNUC_UNUSED, 1248s # const GValue *value G_GNUC_UNUSED, 1248s # GParamSpec *pspec G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1248s # const gchar *sender_name G_GNUC_UNUSED, 1248s # const gchar *signal_name, 1248s # GVariant *parameters) 1248s # { 1248s # _ExtendedGDBusSignalInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # gsize n; 1248s # guint signal_id; 1248s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1248s # if (info == NULL) 1248s # return; 1248s # num_params = g_variant_n_children (parameters); 1248s # paramv = g_new0 (GValue, num_params + 1); 1248s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[0], proxy); 1248s # g_variant_iter_init (&iter, parameters); 1248s # n = 1; 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_signal_emitv (paramv, signal_id, 0, NULL); 1248s # for (n = 0; n < num_params + 1; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1248s # GVariant *changed_properties, 1248s # const gchar *const *invalidated_properties) 1248s # { 1248s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1248s # guint n; 1248s # const gchar *key; 1248s # GVariantIter *iter; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # g_variant_get (changed_properties, "a{sv}", &iter); 1248s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1248s # g_datalist_remove_data (&proxy->priv->qdata, key); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # g_variant_iter_free (iter); 1248s # for (n = 0; invalidated_properties[n] != NULL; n++) 1248s # { 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1248s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1248s # if (info != NULL) 1248s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1248s # } 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1248s # #else 1248s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1248s # #endif 1248s # 1248s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusProxyClass *proxy_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1248s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1248s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1248s # 1248s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1248s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1248s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_sync: 1248s # * @connection: A #GDBusConnection. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_sync ( 1248s # GDBusConnection *connection, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1248s # * @user_data: User data to pass to @callback. 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1248s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1248s # */ 1248s # void 1248s # org_project_signaling_iface_proxy_new_for_bus ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GAsyncReadyCallback callback, 1248s # gpointer user_data) 1248s # { 1248s # 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); 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1248s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1248s # GAsyncResult *res, 1248s # GError **error) 1248s # { 1248s # GObject *ret; 1248s # GObject *source_object; 1248s # source_object = g_async_result_get_source_object (res); 1248s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1248s # g_object_unref (source_object); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1248s # * @bus_type: A #GBusType. 1248s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1248s # * @name: A bus name (well-known or unique). 1248s # * @object_path: An object path. 1248s # * @cancellable: (nullable): A #GCancellable or %NULL. 1248s # * @error: Return location for error or %NULL 1248s # * 1248s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1248s # * 1248s # * The calling thread is blocked until a reply is received. 1248s # * 1248s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1248s # GBusType bus_type, 1248s # GDBusProxyFlags flags, 1248s # const gchar *name, 1248s # const gchar *object_path, 1248s # GCancellable *cancellable, 1248s # GError **error) 1248s # { 1248s # GInitable *ret; 1248s # 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); 1248s # if (ret != NULL) 1248s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1248s # else 1248s # return NULL; 1248s # } 1248s # 1248s # 1248s # /* ------------------------------------------------------------------------ */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeleton: 1248s # * 1248s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1248s # */ 1248s # 1248s # /** 1248s # * OrgProjectSignalingIfaceSkeletonClass: 1248s # * @parent_class: The parent class. 1248s # * 1248s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1248s # */ 1248s # 1248s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1248s # { 1248s # GValue *properties; 1248s # GList *changed_properties; 1248s # GSource *changed_properties_idle_source; 1248s # GMainContext *context; 1248s # GMutex lock; 1248s # }; 1248s # 1248s # static void 1248s # _org_project_signaling_iface_skeleton_handle_method_call ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name, 1248s # const gchar *method_name, 1248s # GVariant *parameters, 1248s # GDBusMethodInvocation *invocation, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # _ExtendedGDBusMethodInfo *info; 1248s # GVariantIter iter; 1248s # GVariant *child; 1248s # GValue *paramv; 1248s # gsize num_params; 1248s # guint num_extra; 1248s # gsize n; 1248s # guint signal_id; 1248s # GValue return_value = G_VALUE_INIT; 1248s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1248s # g_assert (info != NULL); 1248s # num_params = g_variant_n_children (parameters); 1248s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1248s # n = 0; 1248s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_set_object (¶mv[n++], skeleton); 1248s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1248s # g_value_set_object (¶mv[n++], invocation); 1248s # if (info->pass_fdlist) 1248s # { 1248s # #ifdef G_OS_UNIX 1248s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1248s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1248s # #else 1248s # g_assert_not_reached (); 1248s # #endif 1248s # } 1248s # g_variant_iter_init (&iter, parameters); 1248s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1248s # { 1248s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1248s # if (arg_info->use_gvariant) 1248s # { 1248s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1248s # g_value_set_variant (¶mv[n], child); 1248s # n++; 1248s # } 1248s # else 1248s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1248s # g_variant_unref (child); 1248s # } 1248s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1248s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1248s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1248s # if (!g_value_get_boolean (&return_value)) 1248s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1248s # g_value_unset (&return_value); 1248s # for (n = 0; n < num_params + num_extra; n++) 1248s # g_value_unset (¶mv[n]); 1248s # g_free (paramv); 1248s # } 1248s # 1248s # static GVariant * 1248s # _org_project_signaling_iface_skeleton_handle_get_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # GVariant *ret; 1248s # ret = NULL; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # g_value_init (&value, pspec->value_type); 1248s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1248s # g_value_unset (&value); 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static gboolean 1248s # _org_project_signaling_iface_skeleton_handle_set_property ( 1248s # GDBusConnection *connection G_GNUC_UNUSED, 1248s # const gchar *sender G_GNUC_UNUSED, 1248s # const gchar *object_path G_GNUC_UNUSED, 1248s # const gchar *interface_name G_GNUC_UNUSED, 1248s # const gchar *property_name, 1248s # GVariant *variant, 1248s # GError **error, 1248s # gpointer user_data) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1248s # GValue value = G_VALUE_INIT; 1248s # GParamSpec *pspec; 1248s # _ExtendedGDBusPropertyInfo *info; 1248s # gboolean ret; 1248s # ret = FALSE; 1248s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1248s # g_assert (info != NULL); 1248s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1248s # if (pspec == NULL) 1248s # { 1248s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1248s # } 1248s # else 1248s # { 1248s # if (info->use_gvariant) 1248s # g_value_set_variant (&value, variant); 1248s # else 1248s # g_dbus_gvariant_to_gvalue (variant, &value); 1248s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1248s # g_value_unset (&value); 1248s # ret = TRUE; 1248s # } 1248s # return ret; 1248s # } 1248s # 1248s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1248s # { 1248s # _org_project_signaling_iface_skeleton_handle_method_call, 1248s # _org_project_signaling_iface_skeleton_handle_get_property, 1248s # _org_project_signaling_iface_skeleton_handle_set_property, 1248s # {NULL} 1248s # }; 1248s # 1248s # static GDBusInterfaceInfo * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return org_project_signaling_iface_interface_info (); 1248s # } 1248s # 1248s # static GDBusInterfaceVTable * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1248s # { 1248s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1248s # } 1248s # 1248s # static GVariant * 1248s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1248s # 1248s # GVariantBuilder builder; 1248s # guint n; 1248s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1248s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1248s # goto out; 1248s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1248s # { 1248s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1248s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1248s # { 1248s # GVariant *value; 1248s # 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); 1248s # if (value != NULL) 1248s # { 1248s # g_variant_take_ref (value); 1248s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1248s # g_variant_unref (value); 1248s # } 1248s # } 1248s # } 1248s # out: 1248s # return g_variant_builder_end (&builder); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1248s # { 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_simple_signal ( 1248s # OrgProjectSignalingIface *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void 1248s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1248s # OrgProjectSignalingIface *object, 1248s # gboolean arg_an_b, 1248s # guchar arg_an_y, 1248s # gint16 arg_an_n, 1248s # guint16 arg_an_q, 1248s # gint arg_an_i, 1248s # guint arg_an_u, 1248s # gint64 arg_an_x, 1248s # guint64 arg_an_t, 1248s # gdouble arg_an_d, 1248s # const gchar *arg_an_s, 1248s # const gchar *arg_an_o, 1248s # const gchar *arg_an_g, 1248s # GVariant *arg_an_h, 1248s # const gchar *arg_an_ay, 1248s # const gchar *const *arg_an_as, 1248s # const gchar *const *arg_an_ao, 1248s # const gchar *const *arg_an_aay, 1248s # GVariant *arg_an_asv) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # 1248s # GList *connections, *l; 1248s # GVariant *signal_variant; 1248s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1248s # 1248s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1248s # arg_an_b, 1248s # arg_an_y, 1248s # arg_an_n, 1248s # arg_an_q, 1248s # arg_an_i, 1248s # arg_an_u, 1248s # arg_an_x, 1248s # arg_an_t, 1248s # arg_an_d, 1248s # arg_an_s, 1248s # arg_an_o, 1248s # arg_an_g, 1248s # arg_an_h, 1248s # arg_an_ay, 1248s # arg_an_as, 1248s # arg_an_ao, 1248s # arg_an_aay, 1248s # arg_an_asv)); 1248s # for (l = connections; l != NULL; l = l->next) 1248s # { 1248s # GDBusConnection *connection = l->data; 1248s # g_dbus_connection_emit_signal (connection, 1248s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1248s # signal_variant, NULL); 1248s # } 1248s # g_variant_unref (signal_variant); 1248s # g_list_free_full (connections, g_object_unref); 1248s # } 1248s # 1248s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #else 1248s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1248s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1248s # 1248s # #endif 1248s # static void 1248s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1248s # { 1248s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1248s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1248s # if (skeleton->priv->changed_properties_idle_source != NULL) 1248s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1248s # g_main_context_unref (skeleton->priv->context); 1248s # g_mutex_clear (&skeleton->priv->lock); 1248s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1248s # { 1248s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1248s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1248s # #else 1248s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1248s # #endif 1248s # 1248s # g_mutex_init (&skeleton->priv->lock); 1248s # skeleton->priv->context = g_main_context_ref_thread_default (); 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1248s # { 1248s # GObjectClass *gobject_class; 1248s # GDBusInterfaceSkeletonClass *skeleton_class; 1248s # 1248s # gobject_class = G_OBJECT_CLASS (klass); 1248s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1248s # 1248s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1248s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1248s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1248s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1248s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1248s # 1248s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1248s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1248s # #endif 1248s # } 1248s # 1248s # static void 1248s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1248s # { 1248s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1248s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1248s # } 1248s # 1248s # /** 1248s # * org_project_signaling_iface_skeleton_new: 1248s # * 1248s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1248s # * 1248s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1248s # */ 1248s # OrgProjectSignalingIface * 1248s # org_project_signaling_iface_skeleton_new (void) 1248s # { 1248s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1248s # } 1248s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1248s # tmpdir: /tmp/tmprg63991v 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmprg63991v/tmp2__o70ow.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprg63991v/tmp2__o70ow.xml', '--generate-docbook', 'test'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: 1248s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1248s # tmpdir: /tmp/tmpjfhoak78 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpjfhoak78/tmp_uhgt28a.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjfhoak78/tmp_uhgt28a.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1248s # tmpdir: /tmp/tmpve_cozxp 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpve_cozxp/tmpjxgf07o8.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpve_cozxp/tmpjxgf07o8.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifndef __STDOUT__ 1248s # #define __STDOUT__ 1248s # 1248s # #include 1248s # 1248s # G_BEGIN_DECLS 1248s # 1248s # 1248s # G_END_DECLS 1248s # 1248s # #endif /* __STDOUT__ */ 1248s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1248s # tmpdir: /tmp/tmpmga939bw 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpmga939bw/tmph7wo0frn.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmga939bw/tmph7wo0frn.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1248s # tmpdir: /tmp/tmpuuje4v9c 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpuuje4v9c/tmpyx1_6h2f.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuuje4v9c/tmpyx1_6h2f.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifndef __STDOUT__ 1248s # #define __STDOUT__ 1248s # 1248s # #include 1248s # 1248s # G_BEGIN_DECLS 1248s # 1248s # 1248s # G_END_DECLS 1248s # 1248s # #endif /* __STDOUT__ */ 1248s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1248s # tmpdir: /tmp/tmpc2jt79q0 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpc2jt79q0/tmpkqv30mcf.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2jt79q0/tmpkqv30mcf.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifndef __STDOUT__ 1248s # #define __STDOUT__ 1248s # 1248s # #include 1248s # 1248s # G_BEGIN_DECLS 1248s # 1248s # 1248s # G_END_DECLS 1248s # 1248s # #endif /* __STDOUT__ */ 1248s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1248s # tmpdir: /tmp/tmpm08ci368 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpm08ci368/tmpx6wvq6o0.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm08ci368/tmpx6wvq6o0.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1248s # tmpdir: /tmp/tmpcpj74h20 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpcpj74h20/tmptrolmr08.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcpj74h20/tmptrolmr08.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifndef __STDOUT__ 1248s # #define __STDOUT__ 1248s # 1248s # #include 1248s # 1248s # G_BEGIN_DECLS 1248s # 1248s # 1248s # G_END_DECLS 1248s # 1248s # #endif /* __STDOUT__ */ 1248s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1248s # tmpdir: /tmp/tmpw1nxz58_ 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpw1nxz58_/tmpn12oj0us.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw1nxz58_/tmpn12oj0us.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1248s # tmpdir: /tmp/tmpomt1e_0y 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpomt1e_0y/tmp6l1cgnin.xml: 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpomt1e_0y/tmp6l1cgnin.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: /* 1248s # * This file is generated by gdbus-codegen, do not modify it. 1248s # * 1248s # * The license of this code is the same as for the D-Bus interface description 1248s # * it was derived from. Note that it links to GLib, so must comply with the 1248s # * LGPL linking clauses. 1248s # */ 1248s # 1248s # #ifndef __STDOUT__ 1248s # #define __STDOUT__ 1248s # 1248s # #include 1248s # 1248s # G_BEGIN_DECLS 1248s # 1248s # 1248s # G_END_DECLS 1248s # 1248s # #endif /* __STDOUT__ */ 1248s ok 35 __main__.TestCodegen.test_help 1248s # tmpdir: /tmp/tmpe1ssfc5c 1248s # codegen: /usr/bin/gdbus-codegen 1248s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1248s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1248s # [--c-generate-autocleanup {none,objects,all}] 1248s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1248s # [--generate-rst OUTFILES] [--pragma-once] 1248s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1248s # [--glib-min-required VERSION] 1248s # [--glib-max-allowed VERSION] 1248s # [--symbol-decorator SYMBOL_DECORATOR] 1248s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1248s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1248s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1248s # [--output FILE | --output-directory OUTDIR] 1248s # FILE [FILE ...] 1248s # 1248s # D-Bus code and documentation generator 1248s # 1248s # positional arguments: 1248s # FILE D-Bus introspection XML file 1248s # 1248s # options: 1248s # -h, --help show this help message and exit 1248s # --interface-prefix PREFIX 1248s # String to strip from D-Bus interface names for code 1248s # and docs 1248s # --c-namespace NAMESPACE 1248s # The namespace to use for generated C code 1248s # --c-generate-object-manager 1248s # Generate a GDBusObjectManagerClient subclass when 1248s # generating C code 1248s # --c-generate-autocleanup {none,objects,all} 1248s # Generate autocleanup support 1248s # --generate-docbook OUTFILES 1248s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1248s # --generate-md OUTFILES 1248s # Generate Markdown in OUTFILES-org.Project.IFace.md 1248s # --generate-rst OUTFILES 1248s # Generate reStructuredText in OUTFILES- 1248s # org.Project.IFace.rst 1248s # --pragma-once Use "pragma once" as the inclusion guard 1248s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1248s # Add annotation (may be used several times) 1248s # --glib-min-required VERSION 1248s # Minimum version of GLib to be supported by the 1248s # outputted code (default: 2.30) 1248s # --glib-max-allowed VERSION 1248s # Maximum version of GLib to be used by the outputted 1248s # code (default: current GLib version) 1248s # --symbol-decorator SYMBOL_DECORATOR 1248s # Macro used to decorate a symbol in the outputted 1248s # header, possibly to export symbols 1248s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1248s # Additional header required for decorator specified by 1248s # --symbol-decorator 1248s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1248s # Additional define required for decorator specified by 1248s # --symbol-decorator 1248s # --generate-c-code OUTFILES 1248s # Generate C code in OUTFILES.[ch] 1248s # --header Generate C headers 1248s # --body Generate C code 1248s # --interface-info-header 1248s # Generate GDBusInterfaceInfo C header 1248s # --interface-info-body 1248s # Generate GDBusInterfaceInfo C code 1248s # --output FILE Write output into the specified file 1248s # --output-directory OUTDIR 1248s # Location to output generated files 1248s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1248s # tmpdir: /tmp/tmpv6nxc4ao 1248s # codegen: /usr/bin/gdbus-codegen 1248s # /tmp/tmpv6nxc4ao/tmp22sw08hc.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv6nxc4ao/tmp22sw08hc.xml', '--generate-rst', 'test'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: 1248s # /tmp/tmpv6nxc4ao/tmp73f_z39a.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv6nxc4ao/tmp73f_z39a.xml', '--generate-md', 'test'] 1248s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1248s # Output: 1248s # /tmp/tmpv6nxc4ao/tmpjbbty3so.xml: 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # 1248s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv6nxc4ao/tmpjbbty3so.xml', '--generate-docbook', 'test'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: 1249s ok 37 __main__.TestCodegen.test_no_args 1249s # tmpdir: /tmp/tmpi4la1cmm 1249s # codegen: /usr/bin/gdbus-codegen 1249s # Running: ['/usr/bin/gdbus-codegen'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s ok 38 __main__.TestCodegen.test_reproducible 1249s # tmpdir: /tmp/tmpyj9cfuh_ 1249s # codegen: /usr/bin/gdbus-codegen 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj9cfuh_/tmp7xsg9y0s1.xml', '/tmp/tmpyj9cfuh_/tmpuy2kq7ff2.xml', '--output', '-', '--header'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifndef __STDOUT__ 1249s # #define __STDOUT__ 1249s # 1249s # #include 1249s # 1249s # G_BEGIN_DECLS 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for com.acme.Coyote */ 1249s # 1249s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1249s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1249s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1249s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1249s # 1249s # struct _ComAcmeCoyote; 1249s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1249s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1249s # 1249s # struct _ComAcmeCoyoteIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # 1249s # 1249s # gboolean (*handle_attack) ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # gboolean (*handle_run) ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # gboolean (*handle_sleep) ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1249s # 1249s # void (*surprised) ( 1249s # ComAcmeCoyote *object); 1249s # 1249s # }; 1249s # 1249s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1249s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void com_acme_coyote_complete_run ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # void com_acme_coyote_complete_sleep ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # void com_acme_coyote_complete_attack ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # 1249s # 1249s # /* D-Bus signal emissions functions: */ 1249s # void com_acme_coyote_emit_surprised ( 1249s # ComAcmeCoyote *object); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void com_acme_coyote_call_run ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean com_acme_coyote_call_run_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean com_acme_coyote_call_run_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void com_acme_coyote_call_sleep ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean com_acme_coyote_call_sleep_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean com_acme_coyote_call_sleep_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void com_acme_coyote_call_attack ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean com_acme_coyote_call_attack_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean com_acme_coyote_call_attack_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* D-Bus property accessors: */ 1249s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1249s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1249s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1249s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1249s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1249s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1249s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1249s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1249s # 1249s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1249s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1249s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1249s # 1249s # struct _ComAcmeCoyoteProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # ComAcmeCoyoteProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _ComAcmeCoyoteProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void com_acme_coyote_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void com_acme_coyote_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1249s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1249s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1249s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1249s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1249s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1249s # 1249s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1249s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1249s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1249s # 1249s # struct _ComAcmeCoyoteSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # ComAcmeCoyoteSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _ComAcmeCoyoteSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for org.project.Bar.Frobnicator */ 1249s # 1249s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1249s # 1249s # struct _OrgProjectBarFrobnicator; 1249s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1249s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1249s # 1249s # struct _OrgProjectBarFrobnicatorIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # gboolean (*handle_random_method) ( 1249s # OrgProjectBarFrobnicator *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # }; 1249s # 1249s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1249s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void org_project_bar_frobnicator_complete_random_method ( 1249s # OrgProjectBarFrobnicator *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void org_project_bar_frobnicator_call_random_method ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1249s # 1249s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1249s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1249s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1249s # 1249s # struct _OrgProjectBarFrobnicatorProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _OrgProjectBarFrobnicatorProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void org_project_bar_frobnicator_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1249s # 1249s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1249s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1249s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1249s # 1249s # struct _OrgProjectBarFrobnicatorSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _OrgProjectBarFrobnicatorSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1249s # 1249s # 1249s # G_END_DECLS 1249s # 1249s # #endif /* __STDOUT__ */ 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj9cfuh_/tmpuy2kq7ff2.xml', '/tmp/tmpyj9cfuh_/tmp7xsg9y0s1.xml', '--output', '-', '--header'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifndef __STDOUT__ 1249s # #define __STDOUT__ 1249s # 1249s # #include 1249s # 1249s # G_BEGIN_DECLS 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for com.acme.Coyote */ 1249s # 1249s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1249s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1249s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1249s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1249s # 1249s # struct _ComAcmeCoyote; 1249s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1249s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1249s # 1249s # struct _ComAcmeCoyoteIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # 1249s # 1249s # gboolean (*handle_attack) ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # gboolean (*handle_run) ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # gboolean (*handle_sleep) ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1249s # 1249s # void (*surprised) ( 1249s # ComAcmeCoyote *object); 1249s # 1249s # }; 1249s # 1249s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1249s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void com_acme_coyote_complete_run ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # void com_acme_coyote_complete_sleep ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # void com_acme_coyote_complete_attack ( 1249s # ComAcmeCoyote *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # 1249s # 1249s # /* D-Bus signal emissions functions: */ 1249s # void com_acme_coyote_emit_surprised ( 1249s # ComAcmeCoyote *object); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void com_acme_coyote_call_run ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean com_acme_coyote_call_run_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean com_acme_coyote_call_run_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void com_acme_coyote_call_sleep ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean com_acme_coyote_call_sleep_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean com_acme_coyote_call_sleep_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void com_acme_coyote_call_attack ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean com_acme_coyote_call_attack_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean com_acme_coyote_call_attack_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* D-Bus property accessors: */ 1249s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1249s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1249s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1249s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1249s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1249s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1249s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1249s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1249s # 1249s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1249s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1249s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1249s # 1249s # struct _ComAcmeCoyoteProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # ComAcmeCoyoteProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _ComAcmeCoyoteProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void com_acme_coyote_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void com_acme_coyote_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1249s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1249s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1249s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1249s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1249s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1249s # 1249s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1249s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1249s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1249s # 1249s # struct _ComAcmeCoyoteSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # ComAcmeCoyoteSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _ComAcmeCoyoteSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for org.project.Bar.Frobnicator */ 1249s # 1249s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1249s # 1249s # struct _OrgProjectBarFrobnicator; 1249s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1249s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1249s # 1249s # struct _OrgProjectBarFrobnicatorIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # gboolean (*handle_random_method) ( 1249s # OrgProjectBarFrobnicator *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # }; 1249s # 1249s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1249s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void org_project_bar_frobnicator_complete_random_method ( 1249s # OrgProjectBarFrobnicator *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void org_project_bar_frobnicator_call_random_method ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1249s # 1249s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1249s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1249s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1249s # 1249s # struct _OrgProjectBarFrobnicatorProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _OrgProjectBarFrobnicatorProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void org_project_bar_frobnicator_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1249s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1249s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1249s # 1249s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1249s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1249s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1249s # 1249s # struct _OrgProjectBarFrobnicatorSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _OrgProjectBarFrobnicatorSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1249s # 1249s # 1249s # G_END_DECLS 1249s # 1249s # #endif /* __STDOUT__ */ 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj9cfuh_/tmp7xsg9y0s1.xml', '/tmp/tmpyj9cfuh_/tmpuy2kq7ff2.xml', '--output', '-', '--body'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifdef HAVE_CONFIG_H 1249s # # include "config.h" 1249s # #endif 1249s # 1249s # #include 1249s # #ifdef G_OS_UNIX 1249s # # include 1249s # #endif 1249s # 1249s # #ifdef G_ENABLE_DEBUG 1249s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1249s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1249s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1249s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1249s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1249s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1249s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1249s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1249s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1249s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1249s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1249s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1249s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1249s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1249s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1249s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1249s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1249s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1249s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1249s # #else /* !G_ENABLE_DEBUG */ 1249s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1249s # * Do not access GValues directly in your code. Instead, use the 1249s # * g_value_get_*() functions 1249s # */ 1249s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1249s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1249s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1249s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1249s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1249s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1249s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1249s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1249s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1249s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1249s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1249s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1249s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1249s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1249s # #endif /* !G_ENABLE_DEBUG */ 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusArgInfo parent_struct; 1249s # gboolean use_gvariant; 1249s # } _ExtendedGDBusArgInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusMethodInfo parent_struct; 1249s # const gchar *signal_name; 1249s # gboolean pass_fdlist; 1249s # } _ExtendedGDBusMethodInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusSignalInfo parent_struct; 1249s # const gchar *signal_name; 1249s # } _ExtendedGDBusSignalInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusPropertyInfo parent_struct; 1249s # const gchar *hyphen_name; 1249s # guint use_gvariant : 1; 1249s # guint emits_changed_signal : 1; 1249s # } _ExtendedGDBusPropertyInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusInterfaceInfo parent_struct; 1249s # const gchar *hyphen_name; 1249s # } _ExtendedGDBusInterfaceInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # guint prop_id; 1249s # GValue orig_value; /* the value before the change */ 1249s # } ChangedProperty; 1249s # 1249s # static void 1249s # _changed_property_free (ChangedProperty *data) 1249s # { 1249s # g_value_unset (&data->orig_value); 1249s # g_free (data); 1249s # } 1249s # 1249s # static gboolean 1249s # _g_strv_equal0 (gchar **a, gchar **b) 1249s # { 1249s # gboolean ret = FALSE; 1249s # guint n; 1249s # if (a == NULL && b == NULL) 1249s # { 1249s # ret = TRUE; 1249s # goto out; 1249s # } 1249s # if (a == NULL || b == NULL) 1249s # goto out; 1249s # if (g_strv_length (a) != g_strv_length (b)) 1249s # goto out; 1249s # for (n = 0; a[n] != NULL; n++) 1249s # if (g_strcmp0 (a[n], b[n]) != 0) 1249s # goto out; 1249s # ret = TRUE; 1249s # out: 1249s # return ret; 1249s # } 1249s # 1249s # static gboolean 1249s # _g_variant_equal0 (GVariant *a, GVariant *b) 1249s # { 1249s # gboolean ret = FALSE; 1249s # if (a == NULL && b == NULL) 1249s # { 1249s # ret = TRUE; 1249s # goto out; 1249s # } 1249s # if (a == NULL || b == NULL) 1249s # goto out; 1249s # ret = g_variant_equal (a, b); 1249s # out: 1249s # return ret; 1249s # } 1249s # 1249s # G_GNUC_UNUSED static gboolean 1249s # _g_value_equal (const GValue *a, const GValue *b) 1249s # { 1249s # gboolean ret = FALSE; 1249s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1249s # switch (G_VALUE_TYPE (a)) 1249s # { 1249s # case G_TYPE_BOOLEAN: 1249s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1249s # break; 1249s # case G_TYPE_UCHAR: 1249s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1249s # break; 1249s # case G_TYPE_INT: 1249s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1249s # break; 1249s # case G_TYPE_UINT: 1249s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1249s # break; 1249s # case G_TYPE_INT64: 1249s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1249s # break; 1249s # case G_TYPE_UINT64: 1249s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1249s # break; 1249s # case G_TYPE_DOUBLE: 1249s # { 1249s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1249s # gdouble da = g_value_get_double (a); 1249s # gdouble db = g_value_get_double (b); 1249s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1249s # } 1249s # break; 1249s # case G_TYPE_STRING: 1249s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1249s # break; 1249s # case G_TYPE_VARIANT: 1249s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1249s # break; 1249s # default: 1249s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1249s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1249s # else 1249s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1249s # break; 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static void 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint G_GNUC_UNUSED, 1249s # void *marshal_data) 1249s # { 1249s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1249s # (void *data1, 1249s # GDBusMethodInvocation *arg_method_invocation, 1249s # void *data2); 1249s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1249s # GCClosure *cc = (GCClosure*) closure; 1249s # void *data1, *data2; 1249s # gboolean v_return; 1249s # 1249s # g_return_if_fail (return_value != NULL); 1249s # g_return_if_fail (n_param_values == 2); 1249s # 1249s # if (G_CCLOSURE_SWAP_DATA (closure)) 1249s # { 1249s # data1 = closure->data; 1249s # data2 = g_value_peek_pointer (param_values + 0); 1249s # } 1249s # else 1249s # { 1249s # data1 = g_value_peek_pointer (param_values + 0); 1249s # data2 = closure->data; 1249s # } 1249s # 1249s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1249s # (marshal_data ? marshal_data : cc->callback); 1249s # 1249s # v_return = 1249s # callback (data1, 1249s # g_marshal_value_peek_object (param_values + 1), 1249s # data2); 1249s # 1249s # g_value_set_boolean (return_value, v_return); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ 1249s # * Code for interface com.acme.Coyote 1249s # * ------------------------------------------------------------------------ 1249s # */ 1249s # 1249s # /** 1249s # * SECTION:ComAcmeCoyote 1249s # * @title: ComAcmeCoyote 1249s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1249s # * 1249s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1249s # */ 1249s # 1249s # enum 1249s # { 1249s # _COM_ACME_COYOTE_SURPRISED, 1249s # }; 1249s # 1249s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1249s # 1249s # /* ---- Introspection data for com.acme.Coyote ---- */ 1249s # 1249s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Run", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-run", 1249s # FALSE 1249s # }; 1249s # 1249s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Sleep", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-sleep", 1249s # FALSE 1249s # }; 1249s # 1249s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Attack", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-attack", 1249s # FALSE 1249s # }; 1249s # 1249s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1249s # { 1249s # &_com_acme_coyote_method_info_run.parent_struct, 1249s # &_com_acme_coyote_method_info_sleep.parent_struct, 1249s # &_com_acme_coyote_method_info_attack.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Surprised", 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "surprised" 1249s # }; 1249s # 1249s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1249s # { 1249s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Mood", 1249s # (gchar *) "s", 1249s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1249s # NULL 1249s # }, 1249s # "mood", 1249s # FALSE, 1249s # TRUE 1249s # }; 1249s # 1249s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1249s # { 1249s # &_com_acme_coyote_property_info_mood.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "com.acme.Coyote", 1249s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1249s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1249s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1249s # NULL 1249s # }, 1249s # "com-acme-coyote", 1249s # }; 1249s # 1249s # 1249s # /** 1249s # * com_acme_coyote_interface_info: 1249s # * 1249s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1249s # * 1249s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1249s # */ 1249s # GDBusInterfaceInfo * 1249s # com_acme_coyote_interface_info (void) 1249s # { 1249s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_override_properties: 1249s # * @klass: The class structure for a #GObject derived class. 1249s # * @property_id_begin: The property id to assign to the first overridden property. 1249s # * 1249s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1249s # * The properties are overridden in the order they are defined. 1249s # * 1249s # * Returns: The last property id. 1249s # */ 1249s # guint 1249s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1249s # { 1249s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1249s # return property_id_begin - 1; 1249s # } 1249s # 1249s # 1249s # inline static void 1249s # com_acme_coyote_signal_marshal_surprised ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # g_cclosure_marshal_VOID__VOID (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # inline static void 1249s # com_acme_coyote_method_marshal_run ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # inline static void 1249s # com_acme_coyote_method_marshal_sleep ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # inline static void 1249s # com_acme_coyote_method_marshal_attack ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # 1249s # /** 1249s # * ComAcmeCoyote: 1249s # * 1249s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1249s # */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteIface: 1249s # * @parent_iface: The parent interface. 1249s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1249s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1249s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1249s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1249s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1249s # * 1249s # * Virtual table for the D-Bus interface com.acme.Coyote. 1249s # */ 1249s # 1249s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1249s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1249s # 1249s # static void 1249s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1249s # { 1249s # /* GObject signals for incoming D-Bus method calls: */ 1249s # /** 1249s # * ComAcmeCoyote::handle-run: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-run", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # com_acme_coyote_method_marshal_run, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # /** 1249s # * ComAcmeCoyote::handle-sleep: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-sleep", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # com_acme_coyote_method_marshal_sleep, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # /** 1249s # * ComAcmeCoyote::handle-attack: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-attack", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # com_acme_coyote_method_marshal_attack, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # /* GObject signals for received D-Bus signals: */ 1249s # /** 1249s # * ComAcmeCoyote::surprised: 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1249s # * 1249s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1249s # */ 1249s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1249s # g_signal_new ("surprised", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1249s # NULL, 1249s # NULL, 1249s # com_acme_coyote_signal_marshal_surprised, 1249s # G_TYPE_NONE, 1249s # 0); 1249s # 1249s # /* GObject properties for D-Bus properties: */ 1249s # /** 1249s # * ComAcmeCoyote:mood: 1249s # * 1249s # * Represents the D-Bus property "Mood". 1249s # * 1249s # * 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. 1249s # */ 1249s # g_object_interface_install_property (iface, 1249s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_get_mood: (skip) 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * Gets the value of the "Mood" D-Bus property. 1249s # * 1249s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # const gchar * 1249s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1249s # { 1249s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1249s # 1249s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_dup_mood: (skip) 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * Gets a copy of the "Mood" D-Bus property. 1249s # * 1249s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1249s # * 1249s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1249s # */ 1249s # gchar * 1249s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1249s # { 1249s # gchar *value; 1249s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1249s # return value; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_set_mood: (skip) 1249s # * @object: A #ComAcmeCoyote. 1249s # * @value: The value to set. 1249s # * 1249s # * Sets the "Mood" D-Bus property to @value. 1249s # * 1249s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1249s # */ 1249s # void 1249s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1249s # { 1249s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_emit_surprised: 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * Emits the "Surprised" D-Bus signal. 1249s # */ 1249s # void 1249s # com_acme_coyote_emit_surprised ( 1249s # ComAcmeCoyote *object) 1249s # { 1249s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_run: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # com_acme_coyote_call_run ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "Run", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_run_finish: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_call_run(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_run_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_run_sync: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_run_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "Run", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_sleep: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # com_acme_coyote_call_sleep ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "Sleep", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_sleep_finish: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_sleep_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_sleep_sync: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_sleep_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "Sleep", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_attack: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # com_acme_coyote_call_attack ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "Attack", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_attack_finish: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_call_attack(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_attack_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_attack_sync: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_attack_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "Attack", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_complete_run: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # com_acme_coyote_complete_run ( 1249s # ComAcmeCoyote *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_complete_sleep: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # com_acme_coyote_complete_sleep ( 1249s # ComAcmeCoyote *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_complete_attack: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # com_acme_coyote_complete_attack ( 1249s # ComAcmeCoyote *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteProxy: 1249s # * 1249s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteProxyClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #ComAcmeCoyoteProxy. 1249s # */ 1249s # 1249s # struct _ComAcmeCoyoteProxyPrivate 1249s # { 1249s # GData *qdata; 1249s # }; 1249s # 1249s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1249s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # com_acme_coyote_proxy_finalize (GObject *object) 1249s # { 1249s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1249s # g_datalist_clear (&proxy->priv->qdata); 1249s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_get_property (GObject *object, 1249s # guint prop_id, 1249s # GValue *value, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *variant; 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1249s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1249s # if (info->use_gvariant) 1249s # { 1249s # g_value_set_variant (value, variant); 1249s # } 1249s # else 1249s # { 1249s # if (variant != NULL) 1249s # g_dbus_gvariant_to_gvalue (variant, value); 1249s # } 1249s # if (variant != NULL) 1249s # g_variant_unref (variant); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1249s # GAsyncResult *res, 1249s # gpointer user_data) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info = user_data; 1249s # GError *error; 1249s # GVariant *_ret; 1249s # error = NULL; 1249s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1249s # if (!_ret) 1249s # { 1249s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1249s # info->parent_struct.name, 1249s # error->message, g_quark_to_string (error->domain), error->code); 1249s # g_error_free (error); 1249s # } 1249s # else 1249s # { 1249s # g_variant_unref (_ret); 1249s # } 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_set_property (GObject *object, 1249s # guint prop_id, 1249s # const GValue *value, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *variant; 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1249s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1249s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1249s # "org.freedesktop.DBus.Properties.Set", 1249s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1249s # g_variant_unref (variant); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1249s # const gchar *sender_name G_GNUC_UNUSED, 1249s # const gchar *signal_name, 1249s # GVariant *parameters) 1249s # { 1249s # _ExtendedGDBusSignalInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # gsize n; 1249s # guint signal_id; 1249s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1249s # if (info == NULL) 1249s # return; 1249s # num_params = g_variant_n_children (parameters); 1249s # paramv = g_new0 (GValue, num_params + 1); 1249s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1249s # g_value_set_object (¶mv[0], proxy); 1249s # g_variant_iter_init (&iter, parameters); 1249s # n = 1; 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1249s # g_signal_emitv (paramv, signal_id, 0, NULL); 1249s # for (n = 0; n < num_params + 1; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1249s # GVariant *changed_properties, 1249s # const gchar *const *invalidated_properties) 1249s # { 1249s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1249s # guint n; 1249s # const gchar *key; 1249s # GVariantIter *iter; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # g_variant_get (changed_properties, "a{sv}", &iter); 1249s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1249s # g_datalist_remove_data (&proxy->priv->qdata, key); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # g_variant_iter_free (iter); 1249s # for (n = 0; invalidated_properties[n] != NULL; n++) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1249s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # } 1249s # 1249s # static const gchar * 1249s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1249s # { 1249s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1249s # GVariant *variant; 1249s # const gchar *value = NULL; 1249s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1249s # if (variant != NULL) 1249s # { 1249s # value = g_variant_get_string (variant, NULL); 1249s # g_variant_unref (variant); 1249s # } 1249s # return value; 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1249s # #else 1249s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1249s # #endif 1249s # 1249s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusProxyClass *proxy_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1249s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1249s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1249s # 1249s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1249s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1249s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1249s # 1249s # com_acme_coyote_override_properties (gobject_class, 1); 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1249s # { 1249s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # com_acme_coyote_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_sync: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_for_bus: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # com_acme_coyote_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_for_bus_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_for_bus_sync: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteSkeleton: 1249s # * 1249s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteSkeletonClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #ComAcmeCoyoteSkeleton. 1249s # */ 1249s # 1249s # struct _ComAcmeCoyoteSkeletonPrivate 1249s # { 1249s # GValue *properties; 1249s # GList *changed_properties; 1249s # GSource *changed_properties_idle_source; 1249s # GMainContext *context; 1249s # GMutex lock; 1249s # }; 1249s # 1249s # static void 1249s # _com_acme_coyote_skeleton_handle_method_call ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name, 1249s # const gchar *method_name, 1249s # GVariant *parameters, 1249s # GDBusMethodInvocation *invocation, 1249s # gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # _ExtendedGDBusMethodInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # guint num_extra; 1249s # gsize n; 1249s # guint signal_id; 1249s # GValue return_value = G_VALUE_INIT; 1249s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1249s # g_assert (info != NULL); 1249s # num_params = g_variant_n_children (parameters); 1249s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1249s # n = 0; 1249s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1249s # g_value_set_object (¶mv[n++], skeleton); 1249s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1249s # g_value_set_object (¶mv[n++], invocation); 1249s # if (info->pass_fdlist) 1249s # { 1249s # #ifdef G_OS_UNIX 1249s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1249s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1249s # #else 1249s # g_assert_not_reached (); 1249s # #endif 1249s # } 1249s # g_variant_iter_init (&iter, parameters); 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1249s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1249s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1249s # if (!g_value_get_boolean (&return_value)) 1249s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1249s # g_value_unset (&return_value); 1249s # for (n = 0; n < num_params + num_extra; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static GVariant * 1249s # _com_acme_coyote_skeleton_handle_get_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *ret; 1249s # ret = NULL; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # g_value_init (&value, pspec->value_type); 1249s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1249s # g_value_unset (&value); 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static gboolean 1249s # _com_acme_coyote_skeleton_handle_set_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GVariant *variant, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # gboolean ret; 1249s # ret = FALSE; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # if (info->use_gvariant) 1249s # g_value_set_variant (&value, variant); 1249s # else 1249s # g_dbus_gvariant_to_gvalue (variant, &value); 1249s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # g_value_unset (&value); 1249s # ret = TRUE; 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1249s # { 1249s # _com_acme_coyote_skeleton_handle_method_call, 1249s # _com_acme_coyote_skeleton_handle_get_property, 1249s # _com_acme_coyote_skeleton_handle_set_property, 1249s # {NULL} 1249s # }; 1249s # 1249s # static GDBusInterfaceInfo * 1249s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return com_acme_coyote_interface_info (); 1249s # } 1249s # 1249s # static GDBusInterfaceVTable * 1249s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1249s # } 1249s # 1249s # static GVariant * 1249s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1249s # 1249s # GVariantBuilder builder; 1249s # guint n; 1249s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1249s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1249s # goto out; 1249s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1249s # { 1249s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1249s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1249s # { 1249s # GVariant *value; 1249s # 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); 1249s # if (value != NULL) 1249s # { 1249s # g_variant_take_ref (value); 1249s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1249s # g_variant_unref (value); 1249s # } 1249s # } 1249s # } 1249s # out: 1249s # return g_variant_builder_end (&builder); 1249s # } 1249s # 1249s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1249s # gboolean emit_changed = FALSE; 1249s # 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # if (skeleton->priv->changed_properties_idle_source != NULL) 1249s # { 1249s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1249s # skeleton->priv->changed_properties_idle_source = NULL; 1249s # emit_changed = TRUE; 1249s # } 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # 1249s # if (emit_changed) 1249s # _com_acme_coyote_emit_changed (skeleton); 1249s # } 1249s # 1249s # static void 1249s # _com_acme_coyote_on_signal_surprised ( 1249s # ComAcmeCoyote *object) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # 1249s # GList *connections, *l; 1249s # GVariant *signal_variant; 1249s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1249s # 1249s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1249s # for (l = connections; l != NULL; l = l->next) 1249s # { 1249s # GDBusConnection *connection = l->data; 1249s # g_dbus_connection_emit_signal (connection, 1249s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1249s # signal_variant, NULL); 1249s # } 1249s # g_variant_unref (signal_variant); 1249s # g_list_free_full (connections, g_object_unref); 1249s # } 1249s # 1249s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # com_acme_coyote_skeleton_finalize (GObject *object) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # guint n; 1249s # for (n = 0; n < 1; n++) 1249s # g_value_unset (&skeleton->priv->properties[n]); 1249s # g_free (skeleton->priv->properties); 1249s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1249s # if (skeleton->priv->changed_properties_idle_source != NULL) 1249s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1249s # g_main_context_unref (skeleton->priv->context); 1249s # g_mutex_clear (&skeleton->priv->lock); 1249s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_get_property (GObject *object, 1249s # guint prop_id, 1249s # GValue *value, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # } 1249s # 1249s # static gboolean 1249s # _com_acme_coyote_emit_changed (gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # GList *l; 1249s # GVariantBuilder builder; 1249s # GVariantBuilder invalidated_builder; 1249s # guint num_changes; 1249s # 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1249s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1249s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1249s # { 1249s # ChangedProperty *cp = l->data; 1249s # GVariant *variant; 1249s # const GValue *cur_value; 1249s # 1249s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1249s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1249s # { 1249s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1249s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1249s # g_variant_unref (variant); 1249s # num_changes++; 1249s # } 1249s # } 1249s # if (num_changes > 0) 1249s # { 1249s # GList *connections, *ll; 1249s # GVariant *signal_variant; 1249s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1249s # &builder, &invalidated_builder)); 1249s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1249s # for (ll = connections; ll != NULL; ll = ll->next) 1249s # { 1249s # GDBusConnection *connection = ll->data; 1249s # 1249s # g_dbus_connection_emit_signal (connection, 1249s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1249s # "org.freedesktop.DBus.Properties", 1249s # "PropertiesChanged", 1249s # signal_variant, 1249s # NULL); 1249s # } 1249s # g_variant_unref (signal_variant); 1249s # g_list_free_full (connections, g_object_unref); 1249s # } 1249s # else 1249s # { 1249s # g_variant_builder_clear (&builder); 1249s # g_variant_builder_clear (&invalidated_builder); 1249s # } 1249s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1249s # skeleton->priv->changed_properties = NULL; 1249s # skeleton->priv->changed_properties_idle_source = NULL; 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # return FALSE; 1249s # } 1249s # 1249s # static void 1249s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1249s # { 1249s # ChangedProperty *cp; 1249s # GList *l; 1249s # cp = NULL; 1249s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1249s # { 1249s # ChangedProperty *i_cp = l->data; 1249s # if (i_cp->info == info) 1249s # { 1249s # cp = i_cp; 1249s # break; 1249s # } 1249s # } 1249s # if (cp == NULL) 1249s # { 1249s # cp = g_new0 (ChangedProperty, 1); 1249s # cp->prop_id = prop_id; 1249s # cp->info = info; 1249s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1249s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1249s # g_value_copy (orig_value, &cp->orig_value); 1249s # } 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_notify (GObject *object, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # if (skeleton->priv->changed_properties != NULL && 1249s # skeleton->priv->changed_properties_idle_source == NULL) 1249s # { 1249s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1249s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1249s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1249s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1249s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1249s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1249s # } 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_set_property (GObject *object, 1249s # guint prop_id, 1249s # const GValue *value, 1249s # GParamSpec *pspec) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # g_object_freeze_notify (object); 1249s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1249s # { 1249s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1249s # info->emits_changed_signal) 1249s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1249s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1249s # g_object_notify_by_pspec (object, pspec); 1249s # } 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # g_object_thaw_notify (object); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1249s # #else 1249s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1249s # #endif 1249s # 1249s # g_mutex_init (&skeleton->priv->lock); 1249s # skeleton->priv->context = g_main_context_ref_thread_default (); 1249s # skeleton->priv->properties = g_new0 (GValue, 1); 1249s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1249s # } 1249s # 1249s # static const gchar * 1249s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # const gchar *value; 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # return value; 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusInterfaceSkeletonClass *skeleton_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1249s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1249s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1249s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1249s # 1249s # 1249s # com_acme_coyote_override_properties (gobject_class, 1); 1249s # 1249s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1249s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1249s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1249s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1249s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1249s # { 1249s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1249s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_skeleton_new: 1249s # * 1249s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_skeleton_new (void) 1249s # { 1249s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ 1249s # * Code for interface org.project.Bar.Frobnicator 1249s # * ------------------------------------------------------------------------ 1249s # */ 1249s # 1249s # /** 1249s # * SECTION:OrgProjectBarFrobnicator 1249s # * @title: OrgProjectBarFrobnicator 1249s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1249s # * 1249s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1249s # */ 1249s # 1249s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1249s # 1249s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "RandomMethod", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-random-method", 1249s # FALSE 1249s # }; 1249s # 1249s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1249s # { 1249s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "org.project.Bar.Frobnicator", 1249s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "org-project-bar-frobnicator", 1249s # }; 1249s # 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_interface_info: 1249s # * 1249s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1249s # * 1249s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1249s # */ 1249s # GDBusInterfaceInfo * 1249s # org_project_bar_frobnicator_interface_info (void) 1249s # { 1249s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_override_properties: 1249s # * @klass: The class structure for a #GObject derived class. 1249s # * @property_id_begin: The property id to assign to the first overridden property. 1249s # * 1249s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1249s # * The properties are overridden in the order they are defined. 1249s # * 1249s # * Returns: The last property id. 1249s # */ 1249s # guint 1249s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1249s # { 1249s # return property_id_begin - 1; 1249s # } 1249s # 1249s # 1249s # inline static void 1249s # org_project_bar_frobnicator_method_marshal_random_method ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicator: 1249s # * 1249s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1249s # */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorIface: 1249s # * @parent_iface: The parent interface. 1249s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1249s # * 1249s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1249s # */ 1249s # 1249s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1249s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1249s # { 1249s # /* GObject signals for incoming D-Bus method calls: */ 1249s # /** 1249s # * OrgProjectBarFrobnicator::handle-random-method: 1249s # * @object: A #OrgProjectBarFrobnicator. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-random-method", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # org_project_bar_frobnicator_method_marshal_random_method, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_call_random_method: 1249s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1249s # * 1249s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_call_random_method ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "RandomMethod", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_call_random_method_finish: 1249s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # org_project_bar_frobnicator_call_random_method_finish ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_call_random_method_sync: 1249s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # org_project_bar_frobnicator_call_random_method_sync ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "RandomMethod", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_complete_random_method: 1249s # * @object: A #OrgProjectBarFrobnicator. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_complete_random_method ( 1249s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorProxy: 1249s # * 1249s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorProxyClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1249s # */ 1249s # 1249s # struct _OrgProjectBarFrobnicatorProxyPrivate 1249s # { 1249s # GData *qdata; 1249s # }; 1249s # 1249s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1249s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1249s # { 1249s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1249s # g_datalist_clear (&proxy->priv->qdata); 1249s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1249s # guint prop_id G_GNUC_UNUSED, 1249s # GValue *value G_GNUC_UNUSED, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1249s # guint prop_id G_GNUC_UNUSED, 1249s # const GValue *value G_GNUC_UNUSED, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1249s # const gchar *sender_name G_GNUC_UNUSED, 1249s # const gchar *signal_name, 1249s # GVariant *parameters) 1249s # { 1249s # _ExtendedGDBusSignalInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # gsize n; 1249s # guint signal_id; 1249s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1249s # if (info == NULL) 1249s # return; 1249s # num_params = g_variant_n_children (parameters); 1249s # paramv = g_new0 (GValue, num_params + 1); 1249s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_value_set_object (¶mv[0], proxy); 1249s # g_variant_iter_init (&iter, parameters); 1249s # n = 1; 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_signal_emitv (paramv, signal_id, 0, NULL); 1249s # for (n = 0; n < num_params + 1; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1249s # GVariant *changed_properties, 1249s # const gchar *const *invalidated_properties) 1249s # { 1249s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1249s # guint n; 1249s # const gchar *key; 1249s # GVariantIter *iter; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # g_variant_get (changed_properties, "a{sv}", &iter); 1249s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1249s # g_datalist_remove_data (&proxy->priv->qdata, key); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # g_variant_iter_free (iter); 1249s # for (n = 0; invalidated_properties[n] != NULL; n++) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1249s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1249s # #else 1249s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1249s # #endif 1249s # 1249s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusProxyClass *proxy_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1249s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1249s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1249s # 1249s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1249s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1249s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_sync: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_for_bus: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorSkeleton: 1249s # * 1249s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorSkeletonClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1249s # */ 1249s # 1249s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1249s # { 1249s # GValue *properties; 1249s # GList *changed_properties; 1249s # GSource *changed_properties_idle_source; 1249s # GMainContext *context; 1249s # GMutex lock; 1249s # }; 1249s # 1249s # static void 1249s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name, 1249s # const gchar *method_name, 1249s # GVariant *parameters, 1249s # GDBusMethodInvocation *invocation, 1249s # gpointer user_data) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1249s # _ExtendedGDBusMethodInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # guint num_extra; 1249s # gsize n; 1249s # guint signal_id; 1249s # GValue return_value = G_VALUE_INIT; 1249s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1249s # g_assert (info != NULL); 1249s # num_params = g_variant_n_children (parameters); 1249s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1249s # n = 0; 1249s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_value_set_object (¶mv[n++], skeleton); 1249s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1249s # g_value_set_object (¶mv[n++], invocation); 1249s # if (info->pass_fdlist) 1249s # { 1249s # #ifdef G_OS_UNIX 1249s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1249s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1249s # #else 1249s # g_assert_not_reached (); 1249s # #endif 1249s # } 1249s # g_variant_iter_init (&iter, parameters); 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1249s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1249s # if (!g_value_get_boolean (&return_value)) 1249s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1249s # g_value_unset (&return_value); 1249s # for (n = 0; n < num_params + num_extra; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static GVariant * 1249s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *ret; 1249s # ret = NULL; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # g_value_init (&value, pspec->value_type); 1249s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1249s # g_value_unset (&value); 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static gboolean 1249s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GVariant *variant, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # gboolean ret; 1249s # ret = FALSE; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # if (info->use_gvariant) 1249s # g_value_set_variant (&value, variant); 1249s # else 1249s # g_dbus_gvariant_to_gvalue (variant, &value); 1249s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # g_value_unset (&value); 1249s # ret = TRUE; 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1249s # { 1249s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1249s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1249s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1249s # {NULL} 1249s # }; 1249s # 1249s # static GDBusInterfaceInfo * 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return org_project_bar_frobnicator_interface_info (); 1249s # } 1249s # 1249s # static GDBusInterfaceVTable * 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1249s # } 1249s # 1249s # static GVariant * 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1249s # 1249s # GVariantBuilder builder; 1249s # guint n; 1249s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1249s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1249s # goto out; 1249s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1249s # { 1249s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1249s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1249s # { 1249s # GVariant *value; 1249s # 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); 1249s # if (value != NULL) 1249s # { 1249s # g_variant_take_ref (value); 1249s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1249s # g_variant_unref (value); 1249s # } 1249s # } 1249s # } 1249s # out: 1249s # return g_variant_builder_end (&builder); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1249s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1249s # if (skeleton->priv->changed_properties_idle_source != NULL) 1249s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1249s # g_main_context_unref (skeleton->priv->context); 1249s # g_mutex_clear (&skeleton->priv->lock); 1249s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1249s # #else 1249s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1249s # #endif 1249s # 1249s # g_mutex_init (&skeleton->priv->lock); 1249s # skeleton->priv->context = g_main_context_ref_thread_default (); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusInterfaceSkeletonClass *skeleton_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1249s # 1249s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1249s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1249s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1249s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1249s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_skeleton_new: 1249s # * 1249s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_skeleton_new (void) 1249s # { 1249s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1249s # } 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj9cfuh_/tmpuy2kq7ff2.xml', '/tmp/tmpyj9cfuh_/tmp7xsg9y0s1.xml', '--output', '-', '--body'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifdef HAVE_CONFIG_H 1249s # # include "config.h" 1249s # #endif 1249s # 1249s # #include 1249s # #ifdef G_OS_UNIX 1249s # # include 1249s # #endif 1249s # 1249s # #ifdef G_ENABLE_DEBUG 1249s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1249s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1249s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1249s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1249s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1249s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1249s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1249s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1249s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1249s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1249s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1249s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1249s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1249s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1249s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1249s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1249s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1249s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1249s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1249s # #else /* !G_ENABLE_DEBUG */ 1249s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1249s # * Do not access GValues directly in your code. Instead, use the 1249s # * g_value_get_*() functions 1249s # */ 1249s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1249s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1249s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1249s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1249s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1249s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1249s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1249s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1249s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1249s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1249s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1249s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1249s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1249s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1249s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1249s # #endif /* !G_ENABLE_DEBUG */ 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusArgInfo parent_struct; 1249s # gboolean use_gvariant; 1249s # } _ExtendedGDBusArgInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusMethodInfo parent_struct; 1249s # const gchar *signal_name; 1249s # gboolean pass_fdlist; 1249s # } _ExtendedGDBusMethodInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusSignalInfo parent_struct; 1249s # const gchar *signal_name; 1249s # } _ExtendedGDBusSignalInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusPropertyInfo parent_struct; 1249s # const gchar *hyphen_name; 1249s # guint use_gvariant : 1; 1249s # guint emits_changed_signal : 1; 1249s # } _ExtendedGDBusPropertyInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # GDBusInterfaceInfo parent_struct; 1249s # const gchar *hyphen_name; 1249s # } _ExtendedGDBusInterfaceInfo; 1249s # 1249s # typedef struct 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # guint prop_id; 1249s # GValue orig_value; /* the value before the change */ 1249s # } ChangedProperty; 1249s # 1249s # static void 1249s # _changed_property_free (ChangedProperty *data) 1249s # { 1249s # g_value_unset (&data->orig_value); 1249s # g_free (data); 1249s # } 1249s # 1249s # static gboolean 1249s # _g_strv_equal0 (gchar **a, gchar **b) 1249s # { 1249s # gboolean ret = FALSE; 1249s # guint n; 1249s # if (a == NULL && b == NULL) 1249s # { 1249s # ret = TRUE; 1249s # goto out; 1249s # } 1249s # if (a == NULL || b == NULL) 1249s # goto out; 1249s # if (g_strv_length (a) != g_strv_length (b)) 1249s # goto out; 1249s # for (n = 0; a[n] != NULL; n++) 1249s # if (g_strcmp0 (a[n], b[n]) != 0) 1249s # goto out; 1249s # ret = TRUE; 1249s # out: 1249s # return ret; 1249s # } 1249s # 1249s # static gboolean 1249s # _g_variant_equal0 (GVariant *a, GVariant *b) 1249s # { 1249s # gboolean ret = FALSE; 1249s # if (a == NULL && b == NULL) 1249s # { 1249s # ret = TRUE; 1249s # goto out; 1249s # } 1249s # if (a == NULL || b == NULL) 1249s # goto out; 1249s # ret = g_variant_equal (a, b); 1249s # out: 1249s # return ret; 1249s # } 1249s # 1249s # G_GNUC_UNUSED static gboolean 1249s # _g_value_equal (const GValue *a, const GValue *b) 1249s # { 1249s # gboolean ret = FALSE; 1249s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1249s # switch (G_VALUE_TYPE (a)) 1249s # { 1249s # case G_TYPE_BOOLEAN: 1249s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1249s # break; 1249s # case G_TYPE_UCHAR: 1249s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1249s # break; 1249s # case G_TYPE_INT: 1249s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1249s # break; 1249s # case G_TYPE_UINT: 1249s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1249s # break; 1249s # case G_TYPE_INT64: 1249s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1249s # break; 1249s # case G_TYPE_UINT64: 1249s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1249s # break; 1249s # case G_TYPE_DOUBLE: 1249s # { 1249s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1249s # gdouble da = g_value_get_double (a); 1249s # gdouble db = g_value_get_double (b); 1249s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1249s # } 1249s # break; 1249s # case G_TYPE_STRING: 1249s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1249s # break; 1249s # case G_TYPE_VARIANT: 1249s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1249s # break; 1249s # default: 1249s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1249s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1249s # else 1249s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1249s # break; 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static void 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint G_GNUC_UNUSED, 1249s # void *marshal_data) 1249s # { 1249s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1249s # (void *data1, 1249s # GDBusMethodInvocation *arg_method_invocation, 1249s # void *data2); 1249s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1249s # GCClosure *cc = (GCClosure*) closure; 1249s # void *data1, *data2; 1249s # gboolean v_return; 1249s # 1249s # g_return_if_fail (return_value != NULL); 1249s # g_return_if_fail (n_param_values == 2); 1249s # 1249s # if (G_CCLOSURE_SWAP_DATA (closure)) 1249s # { 1249s # data1 = closure->data; 1249s # data2 = g_value_peek_pointer (param_values + 0); 1249s # } 1249s # else 1249s # { 1249s # data1 = g_value_peek_pointer (param_values + 0); 1249s # data2 = closure->data; 1249s # } 1249s # 1249s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1249s # (marshal_data ? marshal_data : cc->callback); 1249s # 1249s # v_return = 1249s # callback (data1, 1249s # g_marshal_value_peek_object (param_values + 1), 1249s # data2); 1249s # 1249s # g_value_set_boolean (return_value, v_return); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ 1249s # * Code for interface com.acme.Coyote 1249s # * ------------------------------------------------------------------------ 1249s # */ 1249s # 1249s # /** 1249s # * SECTION:ComAcmeCoyote 1249s # * @title: ComAcmeCoyote 1249s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1249s # * 1249s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1249s # */ 1249s # 1249s # enum 1249s # { 1249s # _COM_ACME_COYOTE_SURPRISED, 1249s # }; 1249s # 1249s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1249s # 1249s # /* ---- Introspection data for com.acme.Coyote ---- */ 1249s # 1249s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Run", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-run", 1249s # FALSE 1249s # }; 1249s # 1249s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Sleep", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-sleep", 1249s # FALSE 1249s # }; 1249s # 1249s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Attack", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-attack", 1249s # FALSE 1249s # }; 1249s # 1249s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1249s # { 1249s # &_com_acme_coyote_method_info_run.parent_struct, 1249s # &_com_acme_coyote_method_info_sleep.parent_struct, 1249s # &_com_acme_coyote_method_info_attack.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Surprised", 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "surprised" 1249s # }; 1249s # 1249s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1249s # { 1249s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "Mood", 1249s # (gchar *) "s", 1249s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1249s # NULL 1249s # }, 1249s # "mood", 1249s # FALSE, 1249s # TRUE 1249s # }; 1249s # 1249s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1249s # { 1249s # &_com_acme_coyote_property_info_mood.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "com.acme.Coyote", 1249s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1249s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1249s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1249s # NULL 1249s # }, 1249s # "com-acme-coyote", 1249s # }; 1249s # 1249s # 1249s # /** 1249s # * com_acme_coyote_interface_info: 1249s # * 1249s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1249s # * 1249s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1249s # */ 1249s # GDBusInterfaceInfo * 1249s # com_acme_coyote_interface_info (void) 1249s # { 1249s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_override_properties: 1249s # * @klass: The class structure for a #GObject derived class. 1249s # * @property_id_begin: The property id to assign to the first overridden property. 1249s # * 1249s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1249s # * The properties are overridden in the order they are defined. 1249s # * 1249s # * Returns: The last property id. 1249s # */ 1249s # guint 1249s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1249s # { 1249s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1249s # return property_id_begin - 1; 1249s # } 1249s # 1249s # 1249s # inline static void 1249s # com_acme_coyote_signal_marshal_surprised ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # g_cclosure_marshal_VOID__VOID (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # inline static void 1249s # com_acme_coyote_method_marshal_run ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # inline static void 1249s # com_acme_coyote_method_marshal_sleep ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # inline static void 1249s # com_acme_coyote_method_marshal_attack ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # 1249s # /** 1249s # * ComAcmeCoyote: 1249s # * 1249s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1249s # */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteIface: 1249s # * @parent_iface: The parent interface. 1249s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1249s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1249s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1249s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1249s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1249s # * 1249s # * Virtual table for the D-Bus interface com.acme.Coyote. 1249s # */ 1249s # 1249s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1249s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1249s # 1249s # static void 1249s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1249s # { 1249s # /* GObject signals for incoming D-Bus method calls: */ 1249s # /** 1249s # * ComAcmeCoyote::handle-run: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-run", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # com_acme_coyote_method_marshal_run, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # /** 1249s # * ComAcmeCoyote::handle-sleep: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-sleep", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # com_acme_coyote_method_marshal_sleep, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # /** 1249s # * ComAcmeCoyote::handle-attack: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-attack", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # com_acme_coyote_method_marshal_attack, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # /* GObject signals for received D-Bus signals: */ 1249s # /** 1249s # * ComAcmeCoyote::surprised: 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1249s # * 1249s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1249s # */ 1249s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1249s # g_signal_new ("surprised", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1249s # NULL, 1249s # NULL, 1249s # com_acme_coyote_signal_marshal_surprised, 1249s # G_TYPE_NONE, 1249s # 0); 1249s # 1249s # /* GObject properties for D-Bus properties: */ 1249s # /** 1249s # * ComAcmeCoyote:mood: 1249s # * 1249s # * Represents the D-Bus property "Mood". 1249s # * 1249s # * 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. 1249s # */ 1249s # g_object_interface_install_property (iface, 1249s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_get_mood: (skip) 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * Gets the value of the "Mood" D-Bus property. 1249s # * 1249s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # const gchar * 1249s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1249s # { 1249s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1249s # 1249s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_dup_mood: (skip) 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * Gets a copy of the "Mood" D-Bus property. 1249s # * 1249s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1249s # * 1249s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1249s # */ 1249s # gchar * 1249s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1249s # { 1249s # gchar *value; 1249s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1249s # return value; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_set_mood: (skip) 1249s # * @object: A #ComAcmeCoyote. 1249s # * @value: The value to set. 1249s # * 1249s # * Sets the "Mood" D-Bus property to @value. 1249s # * 1249s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1249s # */ 1249s # void 1249s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1249s # { 1249s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_emit_surprised: 1249s # * @object: A #ComAcmeCoyote. 1249s # * 1249s # * Emits the "Surprised" D-Bus signal. 1249s # */ 1249s # void 1249s # com_acme_coyote_emit_surprised ( 1249s # ComAcmeCoyote *object) 1249s # { 1249s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_run: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # com_acme_coyote_call_run ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "Run", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_run_finish: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_call_run(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_run_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_run_sync: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_run_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "Run", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_sleep: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # com_acme_coyote_call_sleep ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "Sleep", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_sleep_finish: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_sleep_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_sleep_sync: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_sleep_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "Sleep", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_attack: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # com_acme_coyote_call_attack ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "Attack", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_attack_finish: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_call_attack(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_attack_finish ( 1249s # ComAcmeCoyote *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_call_attack_sync: 1249s # * @proxy: A #ComAcmeCoyoteProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # com_acme_coyote_call_attack_sync ( 1249s # ComAcmeCoyote *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "Attack", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_complete_run: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # com_acme_coyote_complete_run ( 1249s # ComAcmeCoyote *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_complete_sleep: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # com_acme_coyote_complete_sleep ( 1249s # ComAcmeCoyote *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_complete_attack: 1249s # * @object: A #ComAcmeCoyote. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # com_acme_coyote_complete_attack ( 1249s # ComAcmeCoyote *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteProxy: 1249s # * 1249s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteProxyClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #ComAcmeCoyoteProxy. 1249s # */ 1249s # 1249s # struct _ComAcmeCoyoteProxyPrivate 1249s # { 1249s # GData *qdata; 1249s # }; 1249s # 1249s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1249s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # com_acme_coyote_proxy_finalize (GObject *object) 1249s # { 1249s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1249s # g_datalist_clear (&proxy->priv->qdata); 1249s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_get_property (GObject *object, 1249s # guint prop_id, 1249s # GValue *value, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *variant; 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1249s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1249s # if (info->use_gvariant) 1249s # { 1249s # g_value_set_variant (value, variant); 1249s # } 1249s # else 1249s # { 1249s # if (variant != NULL) 1249s # g_dbus_gvariant_to_gvalue (variant, value); 1249s # } 1249s # if (variant != NULL) 1249s # g_variant_unref (variant); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1249s # GAsyncResult *res, 1249s # gpointer user_data) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info = user_data; 1249s # GError *error; 1249s # GVariant *_ret; 1249s # error = NULL; 1249s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1249s # if (!_ret) 1249s # { 1249s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1249s # info->parent_struct.name, 1249s # error->message, g_quark_to_string (error->domain), error->code); 1249s # g_error_free (error); 1249s # } 1249s # else 1249s # { 1249s # g_variant_unref (_ret); 1249s # } 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_set_property (GObject *object, 1249s # guint prop_id, 1249s # const GValue *value, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *variant; 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1249s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1249s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1249s # "org.freedesktop.DBus.Properties.Set", 1249s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1249s # g_variant_unref (variant); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1249s # const gchar *sender_name G_GNUC_UNUSED, 1249s # const gchar *signal_name, 1249s # GVariant *parameters) 1249s # { 1249s # _ExtendedGDBusSignalInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # gsize n; 1249s # guint signal_id; 1249s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1249s # if (info == NULL) 1249s # return; 1249s # num_params = g_variant_n_children (parameters); 1249s # paramv = g_new0 (GValue, num_params + 1); 1249s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1249s # g_value_set_object (¶mv[0], proxy); 1249s # g_variant_iter_init (&iter, parameters); 1249s # n = 1; 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1249s # g_signal_emitv (paramv, signal_id, 0, NULL); 1249s # for (n = 0; n < num_params + 1; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1249s # GVariant *changed_properties, 1249s # const gchar *const *invalidated_properties) 1249s # { 1249s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1249s # guint n; 1249s # const gchar *key; 1249s # GVariantIter *iter; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # g_variant_get (changed_properties, "a{sv}", &iter); 1249s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1249s # g_datalist_remove_data (&proxy->priv->qdata, key); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # g_variant_iter_free (iter); 1249s # for (n = 0; invalidated_properties[n] != NULL; n++) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1249s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # } 1249s # 1249s # static const gchar * 1249s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1249s # { 1249s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1249s # GVariant *variant; 1249s # const gchar *value = NULL; 1249s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1249s # if (variant != NULL) 1249s # { 1249s # value = g_variant_get_string (variant, NULL); 1249s # g_variant_unref (variant); 1249s # } 1249s # return value; 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1249s # #else 1249s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1249s # #endif 1249s # 1249s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusProxyClass *proxy_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1249s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1249s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1249s # 1249s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1249s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1249s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1249s # 1249s # com_acme_coyote_override_properties (gobject_class, 1); 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1249s # { 1249s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # com_acme_coyote_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_sync: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_for_bus: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1249s # * 1249s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # com_acme_coyote_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_for_bus_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_proxy_new_for_bus_sync: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return COM_ACME_COYOTE (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteSkeleton: 1249s # * 1249s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * ComAcmeCoyoteSkeletonClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #ComAcmeCoyoteSkeleton. 1249s # */ 1249s # 1249s # struct _ComAcmeCoyoteSkeletonPrivate 1249s # { 1249s # GValue *properties; 1249s # GList *changed_properties; 1249s # GSource *changed_properties_idle_source; 1249s # GMainContext *context; 1249s # GMutex lock; 1249s # }; 1249s # 1249s # static void 1249s # _com_acme_coyote_skeleton_handle_method_call ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name, 1249s # const gchar *method_name, 1249s # GVariant *parameters, 1249s # GDBusMethodInvocation *invocation, 1249s # gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # _ExtendedGDBusMethodInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # guint num_extra; 1249s # gsize n; 1249s # guint signal_id; 1249s # GValue return_value = G_VALUE_INIT; 1249s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1249s # g_assert (info != NULL); 1249s # num_params = g_variant_n_children (parameters); 1249s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1249s # n = 0; 1249s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1249s # g_value_set_object (¶mv[n++], skeleton); 1249s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1249s # g_value_set_object (¶mv[n++], invocation); 1249s # if (info->pass_fdlist) 1249s # { 1249s # #ifdef G_OS_UNIX 1249s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1249s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1249s # #else 1249s # g_assert_not_reached (); 1249s # #endif 1249s # } 1249s # g_variant_iter_init (&iter, parameters); 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1249s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1249s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1249s # if (!g_value_get_boolean (&return_value)) 1249s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1249s # g_value_unset (&return_value); 1249s # for (n = 0; n < num_params + num_extra; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static GVariant * 1249s # _com_acme_coyote_skeleton_handle_get_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *ret; 1249s # ret = NULL; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # g_value_init (&value, pspec->value_type); 1249s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1249s # g_value_unset (&value); 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static gboolean 1249s # _com_acme_coyote_skeleton_handle_set_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GVariant *variant, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # gboolean ret; 1249s # ret = FALSE; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # if (info->use_gvariant) 1249s # g_value_set_variant (&value, variant); 1249s # else 1249s # g_dbus_gvariant_to_gvalue (variant, &value); 1249s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # g_value_unset (&value); 1249s # ret = TRUE; 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1249s # { 1249s # _com_acme_coyote_skeleton_handle_method_call, 1249s # _com_acme_coyote_skeleton_handle_get_property, 1249s # _com_acme_coyote_skeleton_handle_set_property, 1249s # {NULL} 1249s # }; 1249s # 1249s # static GDBusInterfaceInfo * 1249s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return com_acme_coyote_interface_info (); 1249s # } 1249s # 1249s # static GDBusInterfaceVTable * 1249s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1249s # } 1249s # 1249s # static GVariant * 1249s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1249s # 1249s # GVariantBuilder builder; 1249s # guint n; 1249s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1249s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1249s # goto out; 1249s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1249s # { 1249s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1249s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1249s # { 1249s # GVariant *value; 1249s # 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); 1249s # if (value != NULL) 1249s # { 1249s # g_variant_take_ref (value); 1249s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1249s # g_variant_unref (value); 1249s # } 1249s # } 1249s # } 1249s # out: 1249s # return g_variant_builder_end (&builder); 1249s # } 1249s # 1249s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1249s # gboolean emit_changed = FALSE; 1249s # 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # if (skeleton->priv->changed_properties_idle_source != NULL) 1249s # { 1249s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1249s # skeleton->priv->changed_properties_idle_source = NULL; 1249s # emit_changed = TRUE; 1249s # } 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # 1249s # if (emit_changed) 1249s # _com_acme_coyote_emit_changed (skeleton); 1249s # } 1249s # 1249s # static void 1249s # _com_acme_coyote_on_signal_surprised ( 1249s # ComAcmeCoyote *object) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # 1249s # GList *connections, *l; 1249s # GVariant *signal_variant; 1249s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1249s # 1249s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1249s # for (l = connections; l != NULL; l = l->next) 1249s # { 1249s # GDBusConnection *connection = l->data; 1249s # g_dbus_connection_emit_signal (connection, 1249s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1249s # signal_variant, NULL); 1249s # } 1249s # g_variant_unref (signal_variant); 1249s # g_list_free_full (connections, g_object_unref); 1249s # } 1249s # 1249s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # com_acme_coyote_skeleton_finalize (GObject *object) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # guint n; 1249s # for (n = 0; n < 1; n++) 1249s # g_value_unset (&skeleton->priv->properties[n]); 1249s # g_free (skeleton->priv->properties); 1249s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1249s # if (skeleton->priv->changed_properties_idle_source != NULL) 1249s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1249s # g_main_context_unref (skeleton->priv->context); 1249s # g_mutex_clear (&skeleton->priv->lock); 1249s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_get_property (GObject *object, 1249s # guint prop_id, 1249s # GValue *value, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # } 1249s # 1249s # static gboolean 1249s # _com_acme_coyote_emit_changed (gpointer user_data) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1249s # GList *l; 1249s # GVariantBuilder builder; 1249s # GVariantBuilder invalidated_builder; 1249s # guint num_changes; 1249s # 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1249s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1249s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1249s # { 1249s # ChangedProperty *cp = l->data; 1249s # GVariant *variant; 1249s # const GValue *cur_value; 1249s # 1249s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1249s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1249s # { 1249s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1249s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1249s # g_variant_unref (variant); 1249s # num_changes++; 1249s # } 1249s # } 1249s # if (num_changes > 0) 1249s # { 1249s # GList *connections, *ll; 1249s # GVariant *signal_variant; 1249s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1249s # &builder, &invalidated_builder)); 1249s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1249s # for (ll = connections; ll != NULL; ll = ll->next) 1249s # { 1249s # GDBusConnection *connection = ll->data; 1249s # 1249s # g_dbus_connection_emit_signal (connection, 1249s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1249s # "org.freedesktop.DBus.Properties", 1249s # "PropertiesChanged", 1249s # signal_variant, 1249s # NULL); 1249s # } 1249s # g_variant_unref (signal_variant); 1249s # g_list_free_full (connections, g_object_unref); 1249s # } 1249s # else 1249s # { 1249s # g_variant_builder_clear (&builder); 1249s # g_variant_builder_clear (&invalidated_builder); 1249s # } 1249s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1249s # skeleton->priv->changed_properties = NULL; 1249s # skeleton->priv->changed_properties_idle_source = NULL; 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # return FALSE; 1249s # } 1249s # 1249s # static void 1249s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1249s # { 1249s # ChangedProperty *cp; 1249s # GList *l; 1249s # cp = NULL; 1249s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1249s # { 1249s # ChangedProperty *i_cp = l->data; 1249s # if (i_cp->info == info) 1249s # { 1249s # cp = i_cp; 1249s # break; 1249s # } 1249s # } 1249s # if (cp == NULL) 1249s # { 1249s # cp = g_new0 (ChangedProperty, 1); 1249s # cp->prop_id = prop_id; 1249s # cp->info = info; 1249s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1249s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1249s # g_value_copy (orig_value, &cp->orig_value); 1249s # } 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_notify (GObject *object, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # if (skeleton->priv->changed_properties != NULL && 1249s # skeleton->priv->changed_properties_idle_source == NULL) 1249s # { 1249s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1249s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1249s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1249s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1249s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1249s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1249s # } 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_set_property (GObject *object, 1249s # guint prop_id, 1249s # const GValue *value, 1249s # GParamSpec *pspec) 1249s # { 1249s # const _ExtendedGDBusPropertyInfo *info; 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1249s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # g_object_freeze_notify (object); 1249s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1249s # { 1249s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1249s # info->emits_changed_signal) 1249s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1249s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1249s # g_object_notify_by_pspec (object, pspec); 1249s # } 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # g_object_thaw_notify (object); 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1249s # #else 1249s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1249s # #endif 1249s # 1249s # g_mutex_init (&skeleton->priv->lock); 1249s # skeleton->priv->context = g_main_context_ref_thread_default (); 1249s # skeleton->priv->properties = g_new0 (GValue, 1); 1249s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1249s # } 1249s # 1249s # static const gchar * 1249s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1249s # { 1249s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1249s # const gchar *value; 1249s # g_mutex_lock (&skeleton->priv->lock); 1249s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1249s # g_mutex_unlock (&skeleton->priv->lock); 1249s # return value; 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusInterfaceSkeletonClass *skeleton_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1249s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1249s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1249s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1249s # 1249s # 1249s # com_acme_coyote_override_properties (gobject_class, 1); 1249s # 1249s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1249s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1249s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1249s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1249s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1249s # { 1249s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1249s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1249s # } 1249s # 1249s # /** 1249s # * com_acme_coyote_skeleton_new: 1249s # * 1249s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1249s # * 1249s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1249s # */ 1249s # ComAcmeCoyote * 1249s # com_acme_coyote_skeleton_new (void) 1249s # { 1249s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ 1249s # * Code for interface org.project.Bar.Frobnicator 1249s # * ------------------------------------------------------------------------ 1249s # */ 1249s # 1249s # /** 1249s # * SECTION:OrgProjectBarFrobnicator 1249s # * @title: OrgProjectBarFrobnicator 1249s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1249s # * 1249s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1249s # */ 1249s # 1249s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1249s # 1249s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "RandomMethod", 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "handle-random-method", 1249s # FALSE 1249s # }; 1249s # 1249s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1249s # { 1249s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1249s # NULL 1249s # }; 1249s # 1249s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1249s # { 1249s # { 1249s # -1, 1249s # (gchar *) "org.project.Bar.Frobnicator", 1249s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1249s # NULL, 1249s # NULL, 1249s # NULL 1249s # }, 1249s # "org-project-bar-frobnicator", 1249s # }; 1249s # 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_interface_info: 1249s # * 1249s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1249s # * 1249s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1249s # */ 1249s # GDBusInterfaceInfo * 1249s # org_project_bar_frobnicator_interface_info (void) 1249s # { 1249s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_override_properties: 1249s # * @klass: The class structure for a #GObject derived class. 1249s # * @property_id_begin: The property id to assign to the first overridden property. 1249s # * 1249s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1249s # * The properties are overridden in the order they are defined. 1249s # * 1249s # * Returns: The last property id. 1249s # */ 1249s # guint 1249s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1249s # { 1249s # return property_id_begin - 1; 1249s # } 1249s # 1249s # 1249s # inline static void 1249s # org_project_bar_frobnicator_method_marshal_random_method ( 1249s # GClosure *closure, 1249s # GValue *return_value, 1249s # unsigned int n_param_values, 1249s # const GValue *param_values, 1249s # void *invocation_hint, 1249s # void *marshal_data) 1249s # { 1249s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1249s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1249s # } 1249s # 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicator: 1249s # * 1249s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1249s # */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorIface: 1249s # * @parent_iface: The parent interface. 1249s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1249s # * 1249s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1249s # */ 1249s # 1249s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1249s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1249s # { 1249s # /* GObject signals for incoming D-Bus method calls: */ 1249s # /** 1249s # * OrgProjectBarFrobnicator::handle-random-method: 1249s # * @object: A #OrgProjectBarFrobnicator. 1249s # * @invocation: A #GDBusMethodInvocation. 1249s # * 1249s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1249s # * 1249s # * 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. 1249s # * 1249s # * 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. 1249s # */ 1249s # g_signal_new ("handle-random-method", 1249s # G_TYPE_FROM_INTERFACE (iface), 1249s # G_SIGNAL_RUN_LAST, 1249s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1249s # g_signal_accumulator_true_handled, 1249s # NULL, 1249s # org_project_bar_frobnicator_method_marshal_random_method, 1249s # G_TYPE_BOOLEAN, 1249s # 1, 1249s # G_TYPE_DBUS_METHOD_INVOCATION); 1249s # 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_call_random_method: 1249s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1249s # * 1249s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_call_random_method ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1249s # "RandomMethod", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # callback, 1249s # user_data); 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_call_random_method_finish: 1249s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # org_project_bar_frobnicator_call_random_method_finish ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_call_random_method_sync: 1249s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL. 1249s # * 1249s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1249s # * 1249s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1249s # * 1249s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1249s # */ 1249s # gboolean 1249s # org_project_bar_frobnicator_call_random_method_sync ( 1249s # OrgProjectBarFrobnicator *proxy, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GVariant *_ret; 1249s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1249s # "RandomMethod", 1249s # g_variant_new ("()"), 1249s # G_DBUS_CALL_FLAGS_NONE, 1249s # -1, 1249s # cancellable, 1249s # error); 1249s # if (_ret == NULL) 1249s # goto _out; 1249s # g_variant_get (_ret, 1249s # "()"); 1249s # g_variant_unref (_ret); 1249s # _out: 1249s # return _ret != NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_complete_random_method: 1249s # * @object: A #OrgProjectBarFrobnicator. 1249s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1249s # * 1249s # * 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. 1249s # * 1249s # * This method will free @invocation, you cannot use it afterwards. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_complete_random_method ( 1249s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1249s # GDBusMethodInvocation *invocation) 1249s # { 1249s # g_dbus_method_invocation_return_value (invocation, 1249s # g_variant_new ("()")); 1249s # } 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorProxy: 1249s # * 1249s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorProxyClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1249s # */ 1249s # 1249s # struct _OrgProjectBarFrobnicatorProxyPrivate 1249s # { 1249s # GData *qdata; 1249s # }; 1249s # 1249s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1249s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1249s # { 1249s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1249s # g_datalist_clear (&proxy->priv->qdata); 1249s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1249s # guint prop_id G_GNUC_UNUSED, 1249s # GValue *value G_GNUC_UNUSED, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1249s # guint prop_id G_GNUC_UNUSED, 1249s # const GValue *value G_GNUC_UNUSED, 1249s # GParamSpec *pspec G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1249s # const gchar *sender_name G_GNUC_UNUSED, 1249s # const gchar *signal_name, 1249s # GVariant *parameters) 1249s # { 1249s # _ExtendedGDBusSignalInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # gsize n; 1249s # guint signal_id; 1249s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1249s # if (info == NULL) 1249s # return; 1249s # num_params = g_variant_n_children (parameters); 1249s # paramv = g_new0 (GValue, num_params + 1); 1249s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_value_set_object (¶mv[0], proxy); 1249s # g_variant_iter_init (&iter, parameters); 1249s # n = 1; 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_signal_emitv (paramv, signal_id, 0, NULL); 1249s # for (n = 0; n < num_params + 1; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1249s # GVariant *changed_properties, 1249s # const gchar *const *invalidated_properties) 1249s # { 1249s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1249s # guint n; 1249s # const gchar *key; 1249s # GVariantIter *iter; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # g_variant_get (changed_properties, "a{sv}", &iter); 1249s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1249s # g_datalist_remove_data (&proxy->priv->qdata, key); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # g_variant_iter_free (iter); 1249s # for (n = 0; invalidated_properties[n] != NULL; n++) 1249s # { 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1249s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1249s # if (info != NULL) 1249s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1249s # } 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1249s # #else 1249s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1249s # #endif 1249s # 1249s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusProxyClass *proxy_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1249s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1249s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1249s # 1249s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1249s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1249s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_sync: 1249s # * @connection: A #GDBusConnection. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_for_bus: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1249s # * @user_data: User data to pass to @callback. 1249s # * 1249s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1249s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1249s # */ 1249s # void 1249s # org_project_bar_frobnicator_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data) 1249s # { 1249s # 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); 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1249s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error) 1249s # { 1249s # GObject *ret; 1249s # GObject *source_object; 1249s # source_object = g_async_result_get_source_object (res); 1249s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1249s # g_object_unref (source_object); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1249s # * @bus_type: A #GBusType. 1249s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1249s # * @name: A bus name (well-known or unique). 1249s # * @object_path: An object path. 1249s # * @cancellable: (nullable): A #GCancellable or %NULL. 1249s # * @error: Return location for error or %NULL 1249s # * 1249s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1249s # * 1249s # * The calling thread is blocked until a reply is received. 1249s # * 1249s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error) 1249s # { 1249s # GInitable *ret; 1249s # 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); 1249s # if (ret != NULL) 1249s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1249s # else 1249s # return NULL; 1249s # } 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorSkeleton: 1249s # * 1249s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1249s # */ 1249s # 1249s # /** 1249s # * OrgProjectBarFrobnicatorSkeletonClass: 1249s # * @parent_class: The parent class. 1249s # * 1249s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1249s # */ 1249s # 1249s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1249s # { 1249s # GValue *properties; 1249s # GList *changed_properties; 1249s # GSource *changed_properties_idle_source; 1249s # GMainContext *context; 1249s # GMutex lock; 1249s # }; 1249s # 1249s # static void 1249s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name, 1249s # const gchar *method_name, 1249s # GVariant *parameters, 1249s # GDBusMethodInvocation *invocation, 1249s # gpointer user_data) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1249s # _ExtendedGDBusMethodInfo *info; 1249s # GVariantIter iter; 1249s # GVariant *child; 1249s # GValue *paramv; 1249s # gsize num_params; 1249s # guint num_extra; 1249s # gsize n; 1249s # guint signal_id; 1249s # GValue return_value = G_VALUE_INIT; 1249s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1249s # g_assert (info != NULL); 1249s # num_params = g_variant_n_children (parameters); 1249s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1249s # n = 0; 1249s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_value_set_object (¶mv[n++], skeleton); 1249s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1249s # g_value_set_object (¶mv[n++], invocation); 1249s # if (info->pass_fdlist) 1249s # { 1249s # #ifdef G_OS_UNIX 1249s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1249s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1249s # #else 1249s # g_assert_not_reached (); 1249s # #endif 1249s # } 1249s # g_variant_iter_init (&iter, parameters); 1249s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1249s # { 1249s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1249s # if (arg_info->use_gvariant) 1249s # { 1249s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1249s # g_value_set_variant (¶mv[n], child); 1249s # n++; 1249s # } 1249s # else 1249s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1249s # g_variant_unref (child); 1249s # } 1249s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1249s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1249s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1249s # if (!g_value_get_boolean (&return_value)) 1249s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1249s # g_value_unset (&return_value); 1249s # for (n = 0; n < num_params + num_extra; n++) 1249s # g_value_unset (¶mv[n]); 1249s # g_free (paramv); 1249s # } 1249s # 1249s # static GVariant * 1249s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # GVariant *ret; 1249s # ret = NULL; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # g_value_init (&value, pspec->value_type); 1249s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1249s # g_value_unset (&value); 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static gboolean 1249s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1249s # GDBusConnection *connection G_GNUC_UNUSED, 1249s # const gchar *sender G_GNUC_UNUSED, 1249s # const gchar *object_path G_GNUC_UNUSED, 1249s # const gchar *interface_name G_GNUC_UNUSED, 1249s # const gchar *property_name, 1249s # GVariant *variant, 1249s # GError **error, 1249s # gpointer user_data) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1249s # GValue value = G_VALUE_INIT; 1249s # GParamSpec *pspec; 1249s # _ExtendedGDBusPropertyInfo *info; 1249s # gboolean ret; 1249s # ret = FALSE; 1249s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1249s # g_assert (info != NULL); 1249s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1249s # if (pspec == NULL) 1249s # { 1249s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1249s # } 1249s # else 1249s # { 1249s # if (info->use_gvariant) 1249s # g_value_set_variant (&value, variant); 1249s # else 1249s # g_dbus_gvariant_to_gvalue (variant, &value); 1249s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1249s # g_value_unset (&value); 1249s # ret = TRUE; 1249s # } 1249s # return ret; 1249s # } 1249s # 1249s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1249s # { 1249s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1249s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1249s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1249s # {NULL} 1249s # }; 1249s # 1249s # static GDBusInterfaceInfo * 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return org_project_bar_frobnicator_interface_info (); 1249s # } 1249s # 1249s # static GDBusInterfaceVTable * 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1249s # { 1249s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1249s # } 1249s # 1249s # static GVariant * 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1249s # 1249s # GVariantBuilder builder; 1249s # guint n; 1249s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1249s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1249s # goto out; 1249s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1249s # { 1249s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1249s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1249s # { 1249s # GVariant *value; 1249s # 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); 1249s # if (value != NULL) 1249s # { 1249s # g_variant_take_ref (value); 1249s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1249s # g_variant_unref (value); 1249s # } 1249s # } 1249s # } 1249s # out: 1249s # return g_variant_builder_end (&builder); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1249s # 1249s # #else 1249s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1249s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1249s # 1249s # #endif 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1249s # { 1249s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1249s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1249s # if (skeleton->priv->changed_properties_idle_source != NULL) 1249s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1249s # g_main_context_unref (skeleton->priv->context); 1249s # g_mutex_clear (&skeleton->priv->lock); 1249s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1249s # { 1249s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1249s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1249s # #else 1249s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1249s # #endif 1249s # 1249s # g_mutex_init (&skeleton->priv->lock); 1249s # skeleton->priv->context = g_main_context_ref_thread_default (); 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1249s # { 1249s # GObjectClass *gobject_class; 1249s # GDBusInterfaceSkeletonClass *skeleton_class; 1249s # 1249s # gobject_class = G_OBJECT_CLASS (klass); 1249s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1249s # 1249s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1249s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1249s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1249s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1249s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1249s # 1249s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1249s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1249s # #endif 1249s # } 1249s # 1249s # static void 1249s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1249s # { 1249s # } 1249s # 1249s # /** 1249s # * org_project_bar_frobnicator_skeleton_new: 1249s # * 1249s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1249s # * 1249s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1249s # */ 1249s # OrgProjectBarFrobnicator * 1249s # org_project_bar_frobnicator_skeleton_new (void) 1249s # { 1249s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1249s # } 1249s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1249s # tmpdir: /tmp/tmpju5mzkta 1249s # codegen: /usr/bin/gdbus-codegen 1249s # /tmp/tmpju5mzkta/tmp5gweve5h.xml: 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpju5mzkta/tmp5gweve5h.xml', '--output', '-', '--header'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifndef __STDOUT__ 1249s # #define __STDOUT__ 1249s # 1249s # #include 1249s # 1249s # G_BEGIN_DECLS 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for FDPassing */ 1249s # 1249s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1249s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1249s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1249s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1249s # 1249s # struct _FDPassing; 1249s # typedef struct _FDPassing FDPassing; 1249s # typedef struct _FDPassingIface FDPassingIface; 1249s # 1249s # struct _FDPassingIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # gboolean (*handle_hello_fd) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # const gchar *arg_greeting); 1249s # 1249s # gboolean (*handle_no_annotation) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale); 1249s # 1249s # gboolean (*handle_no_annotation_nested) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GVariant *arg_files); 1249s # 1249s # }; 1249s # 1249s # GType fdpassing_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1249s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void fdpassing_complete_hello_fd ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # const gchar *response); 1249s # 1249s # void fdpassing_complete_no_annotation ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GVariant *response, 1249s # const gchar *response_locale); 1249s # 1249s # void fdpassing_complete_no_annotation_nested ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void fdpassing_call_hello_fd ( 1249s # FDPassing *proxy, 1249s # const gchar *arg_greeting, 1249s # GUnixFDList *fd_list, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_hello_fd_finish ( 1249s # FDPassing *proxy, 1249s # gchar **out_response, 1249s # GUnixFDList **out_fd_list, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_hello_fd_sync ( 1249s # FDPassing *proxy, 1249s # const gchar *arg_greeting, 1249s # GUnixFDList *fd_list, 1249s # gchar **out_response, 1249s # GUnixFDList **out_fd_list, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_call_no_annotation ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_no_annotation_finish ( 1249s # FDPassing *proxy, 1249s # GVariant **out_response, 1249s # gchar **out_response_locale, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_no_annotation_sync ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale, 1249s # GVariant **out_response, 1249s # gchar **out_response_locale, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_call_no_annotation_nested ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_files, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_no_annotation_nested_finish ( 1249s # FDPassing *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_no_annotation_nested_sync ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_files, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1249s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1249s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1249s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1249s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1249s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1249s # 1249s # typedef struct _FDPassingProxy FDPassingProxy; 1249s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1249s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1249s # 1249s # struct _FDPassingProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # FDPassingProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _FDPassingProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void fdpassing_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # FDPassing *fdpassing_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # FDPassing *fdpassing_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1249s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1249s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1249s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1249s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1249s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1249s # 1249s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1249s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1249s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1249s # 1249s # struct _FDPassingSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # FDPassingSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _FDPassingSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # FDPassing *fdpassing_skeleton_new (void); 1249s # 1249s # 1249s # G_END_DECLS 1249s # 1249s # #endif /* __STDOUT__ */ 1249s # /tmp/tmpju5mzkta/tmpqghj89ms.xml: 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpju5mzkta/tmpqghj89ms.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifndef __STDOUT__ 1249s # #define __STDOUT__ 1249s # 1249s # #include 1249s # 1249s # G_BEGIN_DECLS 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for FDPassing */ 1249s # 1249s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1249s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1249s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1249s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1249s # 1249s # struct _FDPassing; 1249s # typedef struct _FDPassing FDPassing; 1249s # typedef struct _FDPassingIface FDPassingIface; 1249s # 1249s # struct _FDPassingIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # gboolean (*handle_hello_fd) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # const gchar *arg_greeting); 1249s # 1249s # gboolean (*handle_no_annotation) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale); 1249s # 1249s # gboolean (*handle_no_annotation_nested) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GVariant *arg_files); 1249s # 1249s # }; 1249s # 1249s # GType fdpassing_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1249s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void fdpassing_complete_hello_fd ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # const gchar *response); 1249s # 1249s # void fdpassing_complete_no_annotation ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GVariant *response, 1249s # const gchar *response_locale); 1249s # 1249s # void fdpassing_complete_no_annotation_nested ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void fdpassing_call_hello_fd ( 1249s # FDPassing *proxy, 1249s # const gchar *arg_greeting, 1249s # GUnixFDList *fd_list, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_hello_fd_finish ( 1249s # FDPassing *proxy, 1249s # gchar **out_response, 1249s # GUnixFDList **out_fd_list, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_hello_fd_sync ( 1249s # FDPassing *proxy, 1249s # const gchar *arg_greeting, 1249s # GUnixFDList *fd_list, 1249s # gchar **out_response, 1249s # GUnixFDList **out_fd_list, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_call_no_annotation ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_no_annotation_finish ( 1249s # FDPassing *proxy, 1249s # GVariant **out_response, 1249s # gchar **out_response_locale, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_no_annotation_sync ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale, 1249s # GVariant **out_response, 1249s # gchar **out_response_locale, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_call_no_annotation_nested ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_files, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_no_annotation_nested_finish ( 1249s # FDPassing *proxy, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_no_annotation_nested_sync ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_files, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1249s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1249s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1249s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1249s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1249s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1249s # 1249s # typedef struct _FDPassingProxy FDPassingProxy; 1249s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1249s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1249s # 1249s # struct _FDPassingProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # FDPassingProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _FDPassingProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void fdpassing_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # FDPassing *fdpassing_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # FDPassing *fdpassing_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1249s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1249s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1249s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1249s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1249s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1249s # 1249s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1249s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1249s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1249s # 1249s # struct _FDPassingSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # FDPassingSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _FDPassingSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # FDPassing *fdpassing_skeleton_new (void); 1249s # 1249s # 1249s # G_END_DECLS 1249s # 1249s # #endif /* __STDOUT__ */ 1249s # /tmp/tmpju5mzkta/tmpdf9x0gxq.xml: 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # 1249s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpju5mzkta/tmpdf9x0gxq.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1249s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1249s # Output: /* 1249s # * This file is generated by gdbus-codegen, do not modify it. 1249s # * 1249s # * The license of this code is the same as for the D-Bus interface description 1249s # * it was derived from. Note that it links to GLib, so must comply with the 1249s # * LGPL linking clauses. 1249s # */ 1249s # 1249s # #ifndef __STDOUT__ 1249s # #define __STDOUT__ 1249s # 1249s # #include 1249s # 1249s # G_BEGIN_DECLS 1249s # 1249s # 1249s # /* ------------------------------------------------------------------------ */ 1249s # /* Declarations for FDPassing */ 1249s # 1249s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1249s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1249s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1249s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1249s # 1249s # struct _FDPassing; 1249s # typedef struct _FDPassing FDPassing; 1249s # typedef struct _FDPassingIface FDPassingIface; 1249s # 1249s # struct _FDPassingIface 1249s # { 1249s # GTypeInterface parent_iface; 1249s # 1249s # gboolean (*handle_hello_fd) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # const gchar *arg_greeting); 1249s # 1249s # gboolean (*handle_no_annotation) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale); 1249s # 1249s # gboolean (*handle_no_annotation_nested) ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # GVariant *arg_files); 1249s # 1249s # }; 1249s # 1249s # GType fdpassing_get_type (void) G_GNUC_CONST; 1249s # 1249s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1249s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1249s # 1249s # 1249s # /* D-Bus method call completion functions: */ 1249s # void fdpassing_complete_hello_fd ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # const gchar *response); 1249s # 1249s # void fdpassing_complete_no_annotation ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list, 1249s # GVariant *response, 1249s # const gchar *response_locale); 1249s # 1249s # void fdpassing_complete_no_annotation_nested ( 1249s # FDPassing *object, 1249s # GDBusMethodInvocation *invocation, 1249s # GUnixFDList *fd_list); 1249s # 1249s # 1249s # 1249s # /* D-Bus method calls: */ 1249s # void fdpassing_call_hello_fd ( 1249s # FDPassing *proxy, 1249s # const gchar *arg_greeting, 1249s # GDBusCallFlags call_flags, 1249s # gint timeout_msec, 1249s # GUnixFDList *fd_list, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_hello_fd_finish ( 1249s # FDPassing *proxy, 1249s # gchar **out_response, 1249s # GUnixFDList **out_fd_list, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_hello_fd_sync ( 1249s # FDPassing *proxy, 1249s # const gchar *arg_greeting, 1249s # GDBusCallFlags call_flags, 1249s # gint timeout_msec, 1249s # GUnixFDList *fd_list, 1249s # gchar **out_response, 1249s # GUnixFDList **out_fd_list, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_call_no_annotation ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale, 1249s # GDBusCallFlags call_flags, 1249s # gint timeout_msec, 1249s # GUnixFDList *fd_list, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_no_annotation_finish ( 1249s # FDPassing *proxy, 1249s # GVariant **out_response, 1249s # gchar **out_response_locale, 1249s # GUnixFDList **out_fd_list, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_no_annotation_sync ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_greeting, 1249s # const gchar *arg_greeting_locale, 1249s # GDBusCallFlags call_flags, 1249s # gint timeout_msec, 1249s # GUnixFDList *fd_list, 1249s # GVariant **out_response, 1249s # gchar **out_response_locale, 1249s # GUnixFDList **out_fd_list, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_call_no_annotation_nested ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_files, 1249s # GDBusCallFlags call_flags, 1249s # gint timeout_msec, 1249s # GUnixFDList *fd_list, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # 1249s # gboolean fdpassing_call_no_annotation_nested_finish ( 1249s # FDPassing *proxy, 1249s # GUnixFDList **out_fd_list, 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # 1249s # gboolean fdpassing_call_no_annotation_nested_sync ( 1249s # FDPassing *proxy, 1249s # GVariant *arg_files, 1249s # GDBusCallFlags call_flags, 1249s # gint timeout_msec, 1249s # GUnixFDList *fd_list, 1249s # GUnixFDList **out_fd_list, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1249s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1249s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1249s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1249s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1249s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1249s # 1249s # typedef struct _FDPassingProxy FDPassingProxy; 1249s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1249s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1249s # 1249s # struct _FDPassingProxy 1249s # { 1249s # /*< private >*/ 1249s # GDBusProxy parent_instance; 1249s # FDPassingProxyPrivate *priv; 1249s # }; 1249s # 1249s # struct _FDPassingProxyClass 1249s # { 1249s # GDBusProxyClass parent_class; 1249s # }; 1249s # 1249s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1249s # #endif 1249s # 1249s # void fdpassing_proxy_new ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # FDPassing *fdpassing_proxy_new_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # FDPassing *fdpassing_proxy_new_sync ( 1249s # GDBusConnection *connection, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # void fdpassing_proxy_new_for_bus ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GAsyncReadyCallback callback, 1249s # gpointer user_data); 1249s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1249s # GAsyncResult *res, 1249s # GError **error); 1249s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1249s # GBusType bus_type, 1249s # GDBusProxyFlags flags, 1249s # const gchar *name, 1249s # const gchar *object_path, 1249s # GCancellable *cancellable, 1249s # GError **error); 1249s # 1249s # 1249s # /* ---- */ 1249s # 1249s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1249s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1249s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1249s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1249s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1249s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1249s # 1249s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1249s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1249s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1249s # 1249s # struct _FDPassingSkeleton 1249s # { 1249s # /*< private >*/ 1249s # GDBusInterfaceSkeleton parent_instance; 1249s # FDPassingSkeletonPrivate *priv; 1249s # }; 1249s # 1249s # struct _FDPassingSkeletonClass 1249s # { 1249s # GDBusInterfaceSkeletonClass parent_class; 1249s # }; 1249s # 1249s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1249s # 1249s # #if GLIB_CHECK_VERSION(2, 44, 0) 1249s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1249s # #endif 1249s # 1249s # FDPassing *fdpassing_skeleton_new (void); 1249s # 1249s # 1249s # G_END_DECLS 1249s # 1249s # #endif /* __STDOUT__ */ 1249s 1..39 1249s ok - glib/codegen.py.test 1249s # Running test: glib/spawn-test.test 1249s TAP version 13 1249s # random seed: R02Sb015587fc76687eb7d7a4f1b82edf9e3 1249s 1..2 1249s # Start of spawn tests 1249s ok 1 /spawn/basics 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1249s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1249s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1249s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1249s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1249s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1249s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1249s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1249s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1249s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1249s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1249s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1249s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1249s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1249s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1249s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1249s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1249s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1249s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1249s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1249s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1249s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1249s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1249s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1249s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1249s # Fetching GSpawn result with stdin open, stdout open, stderr open 1249s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1249s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1249s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1249s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1249s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1249s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1249s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1249s ok 2 /spawn/stdio-overwrite 1249s # End of spawn tests 1249s ok - glib/spawn-test.test 1249s # Running test: glib/642026-ec.test 1249s TAP version 13 1249s # random seed: R02S7782bc0d22bc30975e7121d943514a8c 1249s 1..1 1249s # Start of glib tests 1249s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1249s ok 1 /glib/642026 1249s # End of glib tests 1249s ok - glib/642026-ec.test 1249s # Running test: glib/registered-type-info.test 1249s TAP version 13 1249s # random seed: R02Sd5c242690946ea965d363f437c0954a6 1249s 1..1 1249s # Start of registered-type-info tests 1249s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/home 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/cache 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/system-config2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/config 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/system-data2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/data 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/state 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_6F11K2/registered-type-info/boxed/.dirs/runtime 1249s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1249s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1249s # Expecting CClosure to not be boxed 1249s # Expecting TypeCValue to not be boxed 1249s # Expecting InitiallyUnownedClass to not be boxed 1249s # Expecting BookmarkFile to be boxed 1249s # Expecting Closure to be boxed 1249s # Expecting Object to not be boxed 1249s ok 1 /registered-type-info/boxed 1249s # End of registered-type-info tests 1249s ok - glib/registered-type-info.test 1249s # Running test: glib/gdbus-proxy-unique-name.test 1249s TAP version 13 1249s # random seed: R02S7391d4f318b374e0f8d280ef39155d18 1249s 1..1 1249s # Start of gdbus tests 1249s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/home 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/cache 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/system-config2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/config 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/system-data2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/data 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/state 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_HTW1K2/gdbus/proxy-unique-name/.dirs/runtime 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1249s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1249s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1249s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1249s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1249s ok 1 /gdbus/proxy-unique-name 1249s # End of gdbus tests 1249s ok - glib/gdbus-proxy-unique-name.test 1249s # Running test: glib/cxx-17.test 1249s TAP version 13 1249s # random seed: R02Sf7b69e972bf411812b9c2ee1bdf2966b 1249s 1..2 1249s # Start of gtask tests 1249s # 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. 1249s ok 1 /gtask/name 1249s # Start of name tests 1249s # 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. 1249s ok 2 /gtask/name/macro-wrapper 1249s # End of name tests 1249s # End of gtask tests 1249s ok - glib/cxx-17.test 1249s # Running test: glib/simple-proxy.test 1249s TAP version 13 1249s # random seed: R02S2b01c3a3bf6b0cc0f518444dad32fa05 1249s 1..3 1249s # Start of static-proxy tests 1249s ok 1 /static-proxy/uri 1249s ok 2 /static-proxy/socks 1249s ok 3 /static-proxy/ignore 1249s # End of static-proxy tests 1249s ok - glib/simple-proxy.test 1249s # Running test: glib/guuid.test 1249s TAP version 13 1249s # random seed: R02Sc7e640cf071f8ef77deda83fe9d186a1 1249s 1..2 1249s # Start of uuid tests 1249s ok 1 /uuid/string 1249s ok 2 /uuid/random 1249s # End of uuid tests 1249s ok - glib/guuid.test 1249s # Running test: glib/macros-c-11.test 1249s TAP version 13 1249s # random seed: R02S21ee17294877fbe1e2d8e72f5143e586 1249s 1..4 1249s # Start of C tests 1249s ok 1 /C/standard-11 1249s # End of C tests 1249s # Start of alignof tests 1249s ok 2 /alignof/fallback 1249s # End of alignof tests 1249s # Start of assert tests 1249s ok 3 /assert/static 1249s # End of assert tests 1249s # Start of struct tests 1249s ok 4 /struct/sizeof_member 1249s # End of struct tests 1249s ok - glib/macros-c-11.test 1249s # Running test: glib/test-printf.test 1249s TAP version 13 1249s # random seed: R02Se9248e5ab362ba31a11a6678a07a0644 1249s 1..22 1249s # Start of snprintf tests 1249s ok 1 /snprintf/retval-and-trunc 1249s ok 2 /snprintf/%d 1249s ok 3 /snprintf/%d-invalid 1249s ok 4 /snprintf/%o 1249s ok 5 /snprintf/%u 1249s ok 6 /snprintf/%x 1249s ok 7 /snprintf/%X 1249s ok 8 /snprintf/%f 1249s ok 9 /snprintf/%e 1249s ok 10 /snprintf/%c 1249s ok 11 /snprintf/%s 1249s ok 12 /snprintf/%n 1249s ok 13 /snprintf/test-percent 1249s ok 14 /snprintf/test-positional-params 1249s ok 15 /snprintf/test-64bit 1249s # End of snprintf tests 1249s # Start of printf tests 1249s ok 16 /printf/test-percent 1249s ok 17 /printf/test-positional-params 1249s ok 18 /printf/test-64bit 1249s # Start of test-64bit tests 1249s # Start of subprocess tests 1249s # End of subprocess tests 1249s # End of test-64bit tests 1249s # End of printf tests 1249s # Start of sprintf tests 1249s ok 19 /sprintf/test-positional-params 1249s ok 20 /sprintf/upper-bound 1249s # End of sprintf tests 1249s # Start of vasprintf tests 1249s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1249s ok 21 /vasprintf/invalid-format-placeholder 1249s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1249s ok 22 /vasprintf/invalid-wide-string 1249s # End of vasprintf tests 1249s ok - glib/test-printf.test 1249s # Running test: glib/qdata.test 1249s TAP version 13 1249s # random seed: R02S67a4bb3ae51ea7d4cc999809742faa8f 1249s 1..2 1249s # Start of qdata tests 1249s ok 1 /qdata/threaded 1249s ok 2 /qdata/dup 1249s # End of qdata tests 1249s ok - glib/qdata.test 1249s # Running test: glib/utils-c-17.test 1249s TAP version 13 1249s # random seed: R02S34b22aec4949da5f3e60acda956308a6 1249s 1..40 1249s # Start of utils tests 1249s ok 1 /utils/language-names 1249s ok 2 /utils/locale-variants 1249s ok 3 /utils/version 1249s ok 4 /utils/appname 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1249s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1249s ok 5 /utils/prgname-thread-safety 1249s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1249s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1249s ok 6 /utils/tmpdir 1249s ok 7 /utils/basic_bits 1249s ok 8 /utils/bits 1249s ok 9 /utils/swap 1249s ok 10 /utils/find-program 1249s ok 11 /utils/find-program-for-path 1249s ok 12 /utils/debug 1249s ok 13 /utils/codeset 1249s ok 14 /utils/codeset2 1249s ok 15 /utils/console-charset 1249s ok 16 /utils/gettext 1249s ok 17 /utils/username 1249s ok 18 /utils/realname 1249s ok 19 /utils/hostname 1249s ok 20 /utils/xdgdirs 1249s ok 21 /utils/specialdir 1249s # NAME: Ubuntu 1249s ok 22 /utils/os-info 1249s ok 23 /utils/clear-pointer 1249s ok 24 /utils/clear-pointer-cast 1249s ok 25 /utils/take-pointer 1249s ok 26 /utils/clear-source 1249s ok 27 /utils/misc-mem 1249s # /utils/aligned-mem summary: Aligned memory allocator 1249s # Alignment must not be zero 1249s # Alignment must be a power of two 1249s # Alignment must be a multiple of sizeof(void*) 1249s ok 28 /utils/aligned-mem 1249s # /utils/free-sized summary: Check that g_free_sized() works 1249s ok 29 /utils/free-sized 1249s ok 30 /utils/nullify 1249s ok 31 /utils/atexit 1249s ok 32 /utils/check-setuid 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1249s ok 33 /utils/int-limits 1249s ok 34 /utils/clear-list 1249s ok 35 /utils/clear-slist 1249s # Start of specialdir tests 1249s ok 36 /utils/specialdir/desktop 1249s # End of specialdir tests 1249s # Start of clear-pointer tests 1249s ok 37 /utils/clear-pointer/side-effects 1249s # End of clear-pointer tests 1249s # Start of aligned-mem tests 1249s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1249s ok 38 /utils/aligned-mem/alignment 1249s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1249s ok 39 /utils/aligned-mem/zeroed 1249s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1249s ok 40 /utils/aligned-mem/free-sized 1249s # Start of subprocess tests 1249s # End of subprocess tests 1249s # End of aligned-mem tests 1249s # End of utils tests 1249s ok - glib/utils-c-17.test 1249s # Running test: glib/mainloop.test 1249s TAP version 13 1249s # random seed: R02Sf8ffc359515753e0b68163ae4dabc77d 1249s 1..45 1249s # Start of maincontext tests 1249s ok 1 /maincontext/basic 1249s # Add same-priority sources: 21 1249s # Find each source: 10 1249s # Executing: glib/mainloop.test 1249s # Remove in random order: 39 1249s ok 2 /maincontext/nsources_same_priority 1249s # Add different-priority sources: 27 1249s # Find each source: 11 1249s # Remove in random order: 40 1249s ok 3 /maincontext/nsources_different_priority 1249s # Add sources from threads: 241 1249s # Remove sources from threads: 38 1249s ok 4 /maincontext/nsources_threadpool 1249s ok 5 /maincontext/source_finalization 1249s # /maincontext/idle-once summary: Test g_idle_add_once() works 1249s ok 6 /maincontext/idle-once 1249s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1249s ok 7 /maincontext/timeout-once 1249s # Start of source_finalization_from_source tests 1249s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 8 /maincontext/source_finalization_from_source/0 1249s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 9 /maincontext/source_finalization_from_source/1 1249s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 10 /maincontext/source_finalization_from_source/2 1249s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 11 /maincontext/source_finalization_from_source/3 1249s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 12 /maincontext/source_finalization_from_source/4 1249s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 13 /maincontext/source_finalization_from_source/5 1249s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 14 /maincontext/source_finalization_from_source/6 1249s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 15 /maincontext/source_finalization_from_source/7 1249s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 16 /maincontext/source_finalization_from_source/8 1249s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1249s ok 17 /maincontext/source_finalization_from_source/9 1249s # End of source_finalization_from_source tests 1249s # Start of source_finalization_from_dispatch tests 1249s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1249s ok 18 /maincontext/source_finalization_from_dispatch/0 1249s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1249s ok 19 /maincontext/source_finalization_from_dispatch/1 1249s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1249s ok 20 /maincontext/source_finalization_from_dispatch/2 1249s # End of source_finalization_from_dispatch tests 1249s # End of maincontext tests 1249s # Start of mainloop tests 1249s ok 21 /mainloop/basic 1249s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1249s ok 23 /mainloop/priorities 1249s ok 24 /mainloop/invoke 1249s # slow test /mainloop/invoke executed in 0.50 secs 1250s ok 25 /mainloop/child_sources 1250s # slow test /mainloop/child_sources executed in 1.23 secs 1252s ok 26 /mainloop/recursive_child_sources 1252s # slow test /mainloop/recursive_child_sources executed in 2.31 secs 1252s ok 27 /mainloop/recursive_loop_child_sources 1252s ok 28 /mainloop/swapping_child_sources 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1252s ok 29 /mainloop/blocked_child_sources 1252s # Executing: glib/mainloop.test 1253s ok 30 /mainloop/source_time 1253s # slow test /mainloop/source_time executed in 1.00 secs 1253s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1253s ok 31 /mainloop/overflow 1254s ok 32 /mainloop/ready-time 1254s # slow test /mainloop/ready-time executed in 0.50 secs 1254s ok 33 /mainloop/wakeup 1254s ok 34 /mainloop/remove-invalid 1254s ok 35 /mainloop/unref-while-pending 1255s ok 36 /mainloop/unix-fd 1255s # slow test /mainloop/unix-fd executed in 1.40 secs 1255s ok 37 /mainloop/unix-fd-source 1255s ok 38 /mainloop/source-unix-fd-api 1255s ok 39 /mainloop/wait 1255s ok 40 /mainloop/unix-file-poll 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1255s ok 41 /mainloop/unix-fd-priority 1255s ok 42 /mainloop/nfds 1255s ok 43 /mainloop/steal-fd 1255s # Start of ownerless-polling tests 1255s ok 44 /mainloop/ownerless-polling/attach-first 1255s ok 45 /mainloop/ownerless-polling/pop-first 1255s # End of ownerless-polling tests 1255s # End of mainloop tests 1255s ok - glib/mainloop.test 1255s # Running test: glib/closure.test 1255s TAP version 13 1255s # random seed: R02Sf9b1f6aa2bb9ffcfb312b1f3fa50688a 1255s 1..6 1255s # Start of closure tests 1255s ok 1 /closure/idle 1255s ok 2 /closure/timeout 1255s ok 3 /closure/iochannel 1255s ok 4 /closure/child 1255s ok 5 /closure/fd 1255s ok 6 /closure/signal 1255s # End of closure tests 1255s ok - glib/closure.test 1255s # Running test: glib/shell.test 1255s TAP version 13 1255s # random seed: R02Sd4aa4efa04eab1b6763c250be229aa09 1255s 1..51 1255s # Start of shell tests 1255s # Start of cmdline tests 1255s test cmdline: foo bar 1255s ok 1 /shell/cmdline/0 1255s test cmdline: foo 'bar' 1255s ok 2 /shell/cmdline/1 1255s test cmdline: foo "bar" 1255s ok 3 /shell/cmdline/2 1255s test cmdline: foo '' 'bar' 1255s ok 4 /shell/cmdline/3 1255s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1255s ok 5 /shell/cmdline/4 1255s test cmdline: foo blah foo bar baz 1255s ok 6 /shell/cmdline/5 1255s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1255s ok 7 /shell/cmdline/6 1255s test cmdline: foo \ 1255s bar 1255s ok 8 /shell/cmdline/7 1255s test cmdline: foo '' '' 1255s ok 9 /shell/cmdline/8 1255s test cmdline: foo \" la la la 1255s ok 10 /shell/cmdline/9 1255s test cmdline: foo \ foo woo woo\ 1255s ok 11 /shell/cmdline/10 1255s test cmdline: foo "yada yada \$\"" 1255s ok 12 /shell/cmdline/11 1255s test cmdline: foo "c:\\" 1255s ok 13 /shell/cmdline/12 1255s test cmdline: foo # bla bla bla 1255s bar 1255s ok 14 /shell/cmdline/13 1255s test cmdline: foo a#b 1255s ok 15 /shell/cmdline/14 1255s test cmdline: #foo 1255s ok 16 /shell/cmdline/15 1255s test cmdline: foo bar \ 1255s ok 17 /shell/cmdline/16 1255s test cmdline: foo 'bar baz 1255s ok 18 /shell/cmdline/17 1255s test cmdline: foo '"bar" baz 1255s ok 19 /shell/cmdline/18 1255s test cmdline: 1255s ok 20 /shell/cmdline/19 1255s test cmdline: 1255s ok 21 /shell/cmdline/20 1255s test cmdline: # foo bar 1255s ok 22 /shell/cmdline/21 1255s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1255s ok 23 /shell/cmdline/22 1255s # End of cmdline tests 1255s # Start of quote tests 1255s ok 24 /shell/quote/0 1255s ok 25 /shell/quote/1 1255s ok 26 /shell/quote/2 1255s ok 27 /shell/quote/3 1255s ok 28 /shell/quote/4 1255s ok 29 /shell/quote/5 1255s ok 30 /shell/quote/6 1255s # End of quote tests 1255s # Start of unquote tests 1255s ok 31 /shell/unquote/0 1255s ok 32 /shell/unquote/1 1255s ok 33 /shell/unquote/2 1255s ok 34 /shell/unquote/3 1255s ok 35 /shell/unquote/4 1255s ok 36 /shell/unquote/5 1255s ok 37 /shell/unquote/6 1255s ok 38 /shell/unquote/7 1255s ok 39 /shell/unquote/8 1255s ok 40 /shell/unquote/9 1255s ok 41 /shell/unquote/10 1255s ok 42 /shell/unquote/11 1255s ok 43 /shell/unquote/12 1255s ok 44 /shell/unquote/13 1255s ok 45 /shell/unquote/14 1255s ok 46 /shell/unquote/15 1255s ok 47 /shell/unquote/16 1255s ok 48 /shell/unquote/17 1255s ok 49 /shell/unquote/18 1255s ok 50 /shell/unquote/19 1255s ok 51 /shell/unquote/20 1255s # End of unquote tests 1255s # End of shell tests 1255s ok - glib/shell.test 1255s # Running test: glib/markup-parse.test 1255s TAP version 13 1255s # random seed: R02S08480f4c88bb5770b6d5133de232fe6c 1255s 1..71 1255s # Start of markup tests 1255s # Start of parse tests 1255s ok 1 /markup/parse/valid-17.gmarkup 1255s ok 2 /markup/parse/valid-10.gmarkup 1255s ok 3 /markup/parse/fail-49.gmarkup 1255s ok 4 /markup/parse/fail-9.gmarkup 1255s ok 5 /markup/parse/fail-54.gmarkup 1255s ok 6 /markup/parse/fail-31.gmarkup 1255s ok 7 /markup/parse/valid-1.gmarkup 1255s ok 8 /markup/parse/fail-4.gmarkup 1255s ok 9 /markup/parse/valid-6.gmarkup 1255s ok 10 /markup/parse/fail-48.gmarkup 1255s ok 11 /markup/parse/fail-36.gmarkup 1255s ok 12 /markup/parse/valid-11.gmarkup 1255s ok 13 /markup/parse/fail-18.gmarkup 1255s ok 14 /markup/parse/fail-19.gmarkup 1255s ok 15 /markup/parse/fail-17.gmarkup 1255s ok 16 /markup/parse/fail-25.gmarkup 1255s ok 17 /markup/parse/valid-7.gmarkup 1255s ok 18 /markup/parse/fail-30.gmarkup 1255s ok 19 /markup/parse/fail-24.gmarkup 1255s ok 20 /markup/parse/fail-10.gmarkup 1255s ok 21 /markup/parse/fail-52.gmarkup 1255s ok 22 /markup/parse/fail-33.gmarkup 1255s ok 23 /markup/parse/valid-8.gmarkup 1255s ok 24 /markup/parse/fail-12.gmarkup 1255s ok 25 /markup/parse/fail-23.gmarkup 1255s ok 26 /markup/parse/fail-14.gmarkup 1255s ok 27 /markup/parse/fail-21.gmarkup 1255s ok 28 /markup/parse/fail-3.gmarkup 1255s ok 29 /markup/parse/fail-38.gmarkup 1255s ok 30 /markup/parse/fail-22.gmarkup 1255s ok 31 /markup/parse/fail-5.gmarkup 1255s ok 32 /markup/parse/valid-5.gmarkup 1255s ok 33 /markup/parse/fail-27.gmarkup 1255s ok 34 /markup/parse/fail-39.gmarkup 1255s ok 35 /markup/parse/fail-46.gmarkup 1255s ok 36 /markup/parse/fail-51.gmarkup 1255s ok 37 /markup/parse/fail-37.gmarkup 1255s ok 38 /markup/parse/valid-2.gmarkup 1255s ok 39 /markup/parse/fail-8.gmarkup 1255s ok 40 /markup/parse/fail-42.gmarkup 1255s ok 41 /markup/parse/valid-13.gmarkup 1255s ok 42 /markup/parse/fail-29.gmarkup 1255s ok 43 /markup/parse/valid-16.gmarkup 1255s ok 44 /markup/parse/valid-4.gmarkup 1255s ok 45 /markup/parse/fail-16.gmarkup 1255s ok 46 /markup/parse/fail-53.gmarkup 1255s ok 47 /markup/parse/fail-35.gmarkup 1255s ok 48 /markup/parse/valid-3.gmarkup 1255s ok 49 /markup/parse/valid-9.gmarkup 1255s ok 50 /markup/parse/valid-12.gmarkup 1255s ok 51 /markup/parse/fail-1.gmarkup 1255s ok 52 /markup/parse/fail-20.gmarkup 1255s ok 53 /markup/parse/fail-28.gmarkup 1255s ok 54 /markup/parse/fail-6.gmarkup 1255s ok 55 /markup/parse/fail-2.gmarkup 1255s ok 56 /markup/parse/fail-34.gmarkup 1255s ok 57 /markup/parse/fail-7.gmarkup 1255s ok 58 /markup/parse/fail-13.gmarkup 1255s ok 59 /markup/parse/fail-45.gmarkup 1255s ok 60 /markup/parse/fail-15.gmarkup 1255s ok 61 /markup/parse/fail-40.gmarkup 1255s ok 62 /markup/parse/fail-26.gmarkup 1255s ok 63 /markup/parse/fail-32.gmarkup 1255s ok 64 /markup/parse/fail-11.gmarkup 1255s ok 65 /markup/parse/fail-50.gmarkup 1255s ok 66 /markup/parse/fail-41.gmarkup 1255s ok 67 /markup/parse/fail-43.gmarkup 1255s ok 68 /markup/parse/fail-44.gmarkup 1255s ok 69 /markup/parse/fail-47.gmarkup 1255s ok 70 /markup/parse/valid-15.gmarkup 1255s ok 71 /markup/parse/valid-14.gmarkup 1255s # End of parse tests 1255s # End of markup tests 1255s ok - glib/markup-parse.test 1255s # Running test: glib/init.test 1255s TAP version 13 1255s # random seed: R02Sb2481c4984baa7423455152bc33ecbd0 1255s 1..2 1255s # Start of thread tests 1255s # Start of deprecated tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_VHCNK2/thread/deprecated/init/.dirs/runtime 1255s ok 1 /thread/deprecated/init 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_VHCNK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1255s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1255s # End of deprecated tests 1255s # End of thread tests 1255s ok - glib/init.test 1255s # Running test: glib/include.test 1255s TAP version 13 1255s # random seed: R02S8aeb327f0e527eabf720392433ba93d1 1255s 1..1 1255s # Start of include tests 1255s ok 1 /include/rwlock 1255s # End of include tests 1255s ok - glib/include.test 1255s # Running test: glib/inet-address.test 1255s TAP version 13 1255s # random seed: R02Sdd413535b303c56da5f7f4c5b133bc68 1255s 1..11 1255s # Start of inet-address tests 1255s ok 1 /inet-address/parse 1255s ok 2 /inet-address/any 1255s ok 3 /inet-address/loopback 1255s ok 4 /inet-address/bytes 1255s ok 5 /inet-address/property 1255s # End of inet-address tests 1255s # Start of socket-address tests 1255s ok 6 /socket-address/basic 1255s ok 7 /socket-address/to-string 1255s # End of socket-address tests 1255s # Start of address-mask tests 1255s ok 8 /address-mask/parse 1255s ok 9 /address-mask/property 1255s ok 10 /address-mask/equal 1255s ok 11 /address-mask/match 1255s # End of address-mask tests 1255s ok - glib/inet-address.test 1255s # Running test: glib/error.test 1255s TAP version 13 1255s # random seed: R02S61c54c442b23294a42a1422dfb18067f 1255s 1..3 1255s # Start of error tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_2XLLK2/error/from-errno/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_2XLLK2/error/from-errno/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_2XLLK2/error/from-errno/.dirs/system-config1:/tmp/test_error_2XLLK2/error/from-errno/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_2XLLK2/error/from-errno/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_2XLLK2/error/from-errno/.dirs/system-data1:/tmp/test_error_2XLLK2/error/from-errno/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_2XLLK2/error/from-errno/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_2XLLK2/error/from-errno/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_2XLLK2/error/from-errno/.dirs/runtime 1255s ok 1 /error/from-errno 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_2XLLK2/error/from-file-error/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_2XLLK2/error/from-file-error/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_2XLLK2/error/from-file-error/.dirs/runtime 1255s ok 2 /error/from-file-error 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_2XLLK2/error/from-win32-error/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_2XLLK2/error/from-win32-error/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_2XLLK2/error/from-win32-error/.dirs/runtime 1255s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1255s # End of error tests 1255s ok - glib/error.test 1255s # Running test: glib/gdbus-message.test 1255s TAP version 13 1255s # random seed: R02Sb7fec678373f84f5db32268733776b02 1255s 1..3 1255s # Start of gdbus tests 1255s # Start of message tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_WBILK2/gdbus/message/lock/.dirs/runtime 1255s ok 1 /gdbus/message/lock 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_WBILK2/gdbus/message/copy/.dirs/runtime 1255s ok 2 /gdbus/message/copy 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_WBILK2/gdbus/message/bytes-needed/.dirs/runtime 1255s # Vector: 0 1255s # Vector: 1 1255s # Vector: 2 1255s # Vector: 3 1255s # Vector: 4 1255s # Vector: 5 1255s ok 3 /gdbus/message/bytes-needed 1255s # End of message tests 1255s # End of gdbus tests 1255s ok - glib/gdbus-message.test 1255s # Running test: glib/gdbus-bz627724.test 1255s TAP version 13 1255s # random seed: R02S4ea1fe011ff20b2caf792f9edb12379d 1255s 1..1 1255s # Start of gdbus tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_XNCLK2/gdbus/bz627724/.dirs/runtime 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s ok 1 /gdbus/bz627724 1255s # End of gdbus tests 1255s ok - glib/gdbus-bz627724.test 1255s # Running test: glib/resources.test 1255s TAP version 13 1255s # random seed: R02Se672f666631af1b666845ab6d1550811 1255s 1..17 1255s # Start of resource tests 1255s ok 1 /resource/file 1255s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1255s ok 2 /resource/file-path 1255s ok 3 /resource/data 1255s ok 4 /resource/data_unaligned 1255s ok 5 /resource/data-corrupt 1255s ok 6 /resource/data-empty 1255s ok 7 /resource/registered 1255s ok 8 /resource/manual 1255s ok 9 /resource/manual2 1255s ok 10 /resource/automatic 1255s ok 11 /resource/module 1255s ok 12 /resource/binary-linked 1255s ok 13 /resource/64k 1255s GLib-GIO-Message: 11:57:01.764: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1255s ok 14 /resource/overlay 1255s ok 15 /resource/digits 1255s # Start of uri tests 1255s ok 16 /resource/uri/query-info 1255s ok 17 /resource/uri/file 1255s # End of uri tests 1255s # End of resource tests 1255s ok - glib/resources.test 1255s # Running test: glib/null-settings-backend.test 1255s TAP version 13 1255s # random seed: R02S7969699e354abe0030e085e6f7e68dba 1255s 1..1 1255s # Start of null-settings-backend tests 1255s ok 1 /null-settings-backend/extension-point-registered 1255s # End of null-settings-backend tests 1255s ok - glib/null-settings-backend.test 1255s # Running test: glib/utils-c-99.test 1255s TAP version 13 1255s # random seed: R02Sd8d70779f7ac63950433693c8c0d7753 1255s 1..40 1255s # Start of utils tests 1255s ok 1 /utils/language-names 1255s ok 2 /utils/locale-variants 1255s ok 3 /utils/version 1255s ok 4 /utils/appname 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1255s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1255s ok 5 /utils/prgname-thread-safety 1255s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1255s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1255s ok 6 /utils/tmpdir 1255s ok 7 /utils/basic_bits 1255s ok 8 /utils/bits 1255s ok 9 /utils/swap 1255s ok 10 /utils/find-program 1255s ok 11 /utils/find-program-for-path 1255s ok 12 /utils/debug 1255s ok 13 /utils/codeset 1255s ok 14 /utils/codeset2 1255s ok 15 /utils/console-charset 1255s ok 16 /utils/gettext 1255s ok 17 /utils/username 1255s ok 18 /utils/realname 1255s ok 19 /utils/hostname 1255s ok 20 /utils/xdgdirs 1255s ok 21 /utils/specialdir 1255s # NAME: Ubuntu 1255s ok 22 /utils/os-info 1255s ok 23 /utils/clear-pointer 1255s ok 24 /utils/clear-pointer-cast 1255s ok 25 /utils/take-pointer 1255s ok 26 /utils/clear-source 1255s ok 27 /utils/misc-mem 1255s # /utils/aligned-mem summary: Aligned memory allocator 1255s # Alignment must not be zero 1255s # Alignment must be a power of two 1255s # Alignment must be a multiple of sizeof(void*) 1255s ok 28 /utils/aligned-mem 1255s # /utils/free-sized summary: Check that g_free_sized() works 1255s ok 29 /utils/free-sized 1255s ok 30 /utils/nullify 1255s ok 31 /utils/atexit 1255s ok 32 /utils/check-setuid 1255s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1255s ok 33 /utils/int-limits 1255s ok 34 /utils/clear-list 1255s ok 35 /utils/clear-slist 1255s # Start of specialdir tests 1255s ok 36 /utils/specialdir/desktop 1255s # End of specialdir tests 1255s # Start of clear-pointer tests 1255s ok 37 /utils/clear-pointer/side-effects 1255s # End of clear-pointer tests 1255s # Start of aligned-mem tests 1255s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1255s ok 38 /utils/aligned-mem/alignment 1255s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1255s ok 39 /utils/aligned-mem/zeroed 1255s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1255s ok 40 /utils/aligned-mem/free-sized 1255s # Start of subprocess tests 1255s # End of subprocess tests 1255s # End of aligned-mem tests 1255s # End of utils tests 1255s ok - glib/utils-c-99.test 1255s # Running test: glib/override.test 1255s TAP version 13 1255s # random seed: R02Saddb13d481827323c227b807261aa330 1255s 1..1 1255s # Start of gobject tests 1255s # *** emitting foo on a TestA instance 1255s # Expecting: TestA::foo,TestI::foo 1255s # Got: TestA::foo,TestI::foo 1255s # *** emitting bar on a TestA instance 1255s # Expecting: TestA::bar 1255s # Got: TestA::bar 1255s # *** emitting baz on a TestA instance 1255s # Expecting: TestA::baz 1255s # Got: TestA::baz 1255s # *** emitting foo on a TestB instance 1255s # Expecting: TestB::foo,TestA::foo,TestI::foo 1255s # Got: TestB::foo,TestA::foo,TestI::foo 1255s # *** emitting bar on a TestB instance 1255s # Expecting: TestB::bar,TestA::bar 1255s # Got: TestB::bar,TestA::bar 1255s # *** emitting baz on a TestB instance 1255s # Expecting: TestB::baz,TestA::baz 1255s # Got: TestB::baz,TestA::baz 1255s # *** emitting foo on a TestC instance 1255s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1255s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1255s # *** emitting bar on a TestC instance 1255s # Expecting: TestC::bar,TestB::bar,TestA::bar 1255s # Got: TestC::bar,TestB::bar,TestA::bar 1255s # *** emitting baz on a TestC instance 1255s # Expecting: TestC::baz,TestB::baz,TestA::baz 1255s # Got: TestC::baz,TestB::baz,TestA::baz 1255s ok 1 /gobject/override 1255s # End of gobject tests 1255s ok - glib/override.test 1255s # Running test: glib/autoptr-gio.test 1255s TAP version 13 1255s # random seed: R02Se7f49591cdcba946d6415acf14495e79 1255s 1..1 1255s # Start of autoptr tests 1255s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1255s ok 1 /autoptr/autoptr 1255s # End of autoptr tests 1255s ok - glib/autoptr-gio.test 1255s # Running test: glib/thread-pool-slow.test 1255s TAP version 13 1255s # random seed: R02S0dd8e7f6a13c3d100934ccaa947e2271 1255s 1..7 1255s # Start of threadpool tests 1255s ok 1 /threadpool/functions 1256s ok 2 /threadpool/stop-unused 1256s # slow test /threadpool/stop-unused executed in 0.51 secs 1256s ok 3 /threadpool/pools 1256s # [unsorted] ===> pushed new thread with id:15, number of threads:1, unprocessed:1 1256s # [unsorted] ===> pushed new thread with id:30, number of threads:2, unprocessed:1 1256s # [unsorted] ===> pushed new thread with id:88, number of threads:3, unprocessed:2 1256s # [unsorted] ===> pushed new thread with id:74, number of threads:4, unprocessed:3 1256s # [unsorted] ===> pushed new thread with id:100, number of threads:5, unprocessed:4 1256s # [unsorted] ===> pushed new thread with id:55, number of threads:6, unprocessed:4 1256s # [unsorted] ===> pushed new thread with id:26, number of threads:7, unprocessed:3 1256s # [unsorted] ===> pushed new thread with id:67, number of threads:8, unprocessed:2 1256s # [unsorted] ===> pushed new thread with id:50, number of threads:9, unprocessed:1 1256s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:1 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:2 1256s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:3 1256s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:4 1256s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:5 1256s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:6 1256s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:7 1256s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:8 1256s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:9 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:10 1256s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:11 1256s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:12 1256s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:13 1256s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:14 1256s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:15 1256s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:16 1256s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:17 1256s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:18 1256s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:19 1256s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:20 1256s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:21 1256s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:22 1256s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:23 1256s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:24 1256s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:25 1256s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:26 1256s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:27 1256s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:28 1256s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:29 1256s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:30 1256s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:31 1256s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:32 1256s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:33 1256s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:34 1256s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:35 1256s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:36 1256s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:37 1256s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:38 1256s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:39 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:40 1256s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:41 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:42 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:43 1256s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:44 1256s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:45 1256s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:46 1256s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:47 1256s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:48 1256s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:49 1256s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:50 1256s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:51 1256s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:52 1256s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:53 1256s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:54 1256s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:55 1256s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:56 1256s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:57 1256s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:58 1256s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:59 1256s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:60 1256s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:61 1256s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:62 1256s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:63 1256s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:64 1256s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:65 1256s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:66 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:67 1256s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:68 1256s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:69 1256s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:70 1256s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:71 1256s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:72 1256s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:73 1256s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:74 1256s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:75 1256s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:76 1256s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:77 1256s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:78 1256s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:79 1256s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:80 1256s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:81 1256s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:82 1256s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:83 1256s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:84 1256s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:85 1256s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:86 1256s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:87 1256s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:88 1256s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:89 1256s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:90 1256s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:91 1256s ok 4 /threadpool/no-sort 1256s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:1 1256s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:2 1256s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:3 1256s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:4 1256s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:5 1256s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:6 1256s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:7 1256s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:8 1256s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:9 1256s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:10 1256s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:11 1256s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:12 1256s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:13 1256s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:14 1256s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:15 1256s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:16 1256s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:17 1256s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:18 1256s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:19 1256s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:20 1256s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:21 1256s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:22 1256s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:23 1256s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:24 1256s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:25 1256s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:26 1256s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:27 1256s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:28 1256s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:29 1256s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:30 1256s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:31 1256s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:32 1256s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:33 1256s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:34 1256s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:35 1256s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:36 1256s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:37 1256s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:38 1256s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:39 1256s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:40 1256s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:41 1256s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:42 1256s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:43 1256s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:44 1256s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:45 1256s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:46 1256s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:47 1256s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:48 1256s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:49 1256s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:50 1256s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:51 1256s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:52 1256s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:53 1256s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:54 1256s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:55 1256s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:56 1256s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:57 1256s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:58 1256s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:59 1256s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:60 1256s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:61 1256s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:62 1256s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:63 1256s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:64 1256s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:65 1256s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:66 1256s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:67 1256s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:68 1256s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:69 1256s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:70 1256s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:71 1256s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:72 1256s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:73 1256s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:74 1256s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:75 1256s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:76 1256s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:77 1256s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:78 1256s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:79 1256s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:80 1256s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:81 1256s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:82 1256s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:83 1256s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:84 1256s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:85 1256s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:86 1256s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:87 1256s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:88 1256s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:89 1256s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:90 1256s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:91 1256s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:92 1256s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:93 1256s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:94 1256s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:95 1256s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:96 1256s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:97 1256s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:98 1256s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:99 1256s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:100 1256s # Starting thread pool processing 1256s ok 5 /threadpool/sort 1257s ok 6 /threadpool/stop-unused-multiple 1257s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1257s # Pool idle thread count: 0, unprocessed jobs: 40 1257s # Pool idle thread count: 0, unprocessed jobs: 0 1257s # Pool idle thread count: 0, unprocessed jobs: 0 1257s # Executing: glib/thread-pool-slow.test 1258s # Pool idle thread count: 10, unprocessed jobs: 0 1258s # Pool idle thread count: 10, unprocessed jobs: 0 1258s # Pool idle thread count: 10, unprocessed jobs: 0 1258s # Pool idle thread count: 10, unprocessed jobs: 0 1259s # Pool idle thread count: 10, unprocessed jobs: 0 1259s # Pool idle thread count: 10, unprocessed jobs: 0 1259s # Pool idle thread count: 10, unprocessed jobs: 0 1259s # Pool idle thread count: 10, unprocessed jobs: 0 1260s # Pool idle thread count: 10, unprocessed jobs: 0 1260s # Pool idle thread count: 10, unprocessed jobs: 0 1260s # Pool idle thread count: 10, unprocessed jobs: 0 1260s # Pool idle thread count: 10, unprocessed jobs: 0 1261s # Pool idle thread count: 10, unprocessed jobs: 0 1261s # Pool idle thread count: 10, unprocessed jobs: 0 1261s # Pool idle thread count: 10, unprocessed jobs: 0 1261s # Pool idle thread count: 10, unprocessed jobs: 0 1262s # Pool idle thread count: 10, unprocessed jobs: 0 1262s # Pool idle thread count: 10, unprocessed jobs: 0 1262s # Pool idle thread count: 10, unprocessed jobs: 0 1262s # Pool idle thread count: 10, unprocessed jobs: 0 1262s # Executing: glib/thread-pool-slow.test 1263s # Pool idle thread count: 10, unprocessed jobs: 0 1263s # Pool idle thread count: 10, unprocessed jobs: 0 1263s # Pool idle thread count: 10, unprocessed jobs: 0 1263s # Pool idle thread count: 10, unprocessed jobs: 0 1264s # Pool idle thread count: 10, unprocessed jobs: 0 1264s # Pool idle thread count: 10, unprocessed jobs: 0 1264s # Pool idle thread count: 10, unprocessed jobs: 0 1264s # Pool idle thread count: 10, unprocessed jobs: 0 1265s # Pool idle thread count: 10, unprocessed jobs: 0 1265s # Pool idle thread count: 10, unprocessed jobs: 0 1265s # Pool idle thread count: 10, unprocessed jobs: 0 1265s # Pool idle thread count: 10, unprocessed jobs: 0 1266s # Pool idle thread count: 10, unprocessed jobs: 2 1266s # Pool idle thread count: 9, unprocessed jobs: 1 1266s # Pool idle thread count: 8, unprocessed jobs: 0 1266s # Pool idle thread count: 8, unprocessed jobs: 0 1266s # Pool idle thread count: 10, unprocessed jobs: 0 1266s # Pool idle thread count: 10, unprocessed jobs: 0 1267s # Pool idle thread count: 10, unprocessed jobs: 0 1267s # Pool idle thread count: 10, unprocessed jobs: 0 1267s # Pool idle thread count: 10, unprocessed jobs: 0 1267s # Pool idle thread count: 10, unprocessed jobs: 0 1267s # Executing: glib/thread-pool-slow.test 1268s # Pool idle thread count: 2, unprocessed jobs: 0 1268s # Pool idle thread count: 2, unprocessed jobs: 0 1268s # Pool idle thread count: 2, unprocessed jobs: 0 1268s # Pool idle thread count: 2, unprocessed jobs: 0 1269s # Pool idle thread count: 2, unprocessed jobs: 0 1269s # Pool idle thread count: 2, unprocessed jobs: 0 1269s # Pool idle thread count: 2, unprocessed jobs: 0 1269s # Pool idle thread count: 2, unprocessed jobs: 0 1270s # Pool idle thread count: 2, unprocessed jobs: 0 1270s # Pool idle thread count: 2, unprocessed jobs: 0 1270s # Pool idle thread count: 2, unprocessed jobs: 0 1270s # Pool idle thread count: 2, unprocessed jobs: 0 1271s # Pool idle thread count: 2, unprocessed jobs: 0 1271s # Pool idle thread count: 2, unprocessed jobs: 0 1271s # Pool idle thread count: 2, unprocessed jobs: 0 1271s # Pool idle thread count: 2, unprocessed jobs: 0 1272s # Pool idle thread count: 2, unprocessed jobs: 0 1272s # Pool idle thread count: 2, unprocessed jobs: 0 1272s # Pool idle thread count: 2, unprocessed jobs: 0 1272s # Pool idle thread count: 2, unprocessed jobs: 0 1272s # Executing: glib/thread-pool-slow.test 1273s # Pool idle thread count: 2, unprocessed jobs: 0 1273s # Pool idle thread count: 2, unprocessed jobs: 0 1273s # Pool idle thread count: 2, unprocessed jobs: 0 1273s # Pool idle thread count: 2, unprocessed jobs: 0 1274s # Pool idle thread count: 2, unprocessed jobs: 0 1274s # Pool idle thread count: 2, unprocessed jobs: 0 1274s # Pool idle thread count: 2, unprocessed jobs: 0 1274s # Pool idle thread count: 2, unprocessed jobs: 0 1275s # Pool idle thread count: 2, unprocessed jobs: 0 1275s # Pool idle thread count: 2, unprocessed jobs: 0 1275s # Pool idle thread count: 2, unprocessed jobs: 0 1275s # Pool idle thread count: 2, unprocessed jobs: 0 1276s # Pool idle thread count: 2, unprocessed jobs: 0 1276s # Pool idle thread count: 2, unprocessed jobs: 0 1276s ok 7 /threadpool/idle-time 1276s # slow test /threadpool/idle-time executed in 19.54 secs 1276s # End of threadpool tests 1276s ok - glib/thread-pool-slow.test 1276s # Running test: glib/overflow.test 1276s TAP version 13 1276s # random seed: R02S87d3e4b39c64bb66ab4a0d1227b5a459 1276s 1..6 1276s # Start of glib tests 1276s # Start of checked-math tests 1276s ok 1 /glib/checked-math/guint-add 1276s ok 2 /glib/checked-math/guint-mul 1276s ok 3 /glib/checked-math/guint64-add 1276s ok 4 /glib/checked-math/guint64-mul 1276s ok 5 /glib/checked-math/gsize-add 1276s ok 6 /glib/checked-math/gsize-mul 1276s # End of checked-math tests 1276s # End of glib tests 1276s ok - glib/overflow.test 1276s # Running test: glib/socket-address.test 1276s TAP version 13 1276s # random seed: R02S0426d208e62f2c0cf4b7856e992f8a11 1276s 1..2 1276s # Start of socket tests 1276s # Start of address tests 1276s # Start of unix tests 1276s ok 1 /socket/address/unix/construct 1276s ok 2 /socket/address/unix/to-string 1276s # End of unix tests 1276s # End of address tests 1276s # End of socket tests 1276s ok - glib/socket-address.test 1276s # Running test: glib/cxx-98.test 1276s TAP version 13 1276s # random seed: R02S939bc4e5a3fc068f221d564c3f49cf46 1276s 1..2 1276s # Start of gtask tests 1276s # 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. 1276s ok 1 /gtask/name 1276s # Start of name tests 1276s # 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. 1276s ok 2 /gtask/name/macro-wrapper 1276s # End of name tests 1276s # End of gtask tests 1276s ok - glib/cxx-98.test 1276s # Running test: glib/mappedfile.test 1276s TAP version 13 1276s # random seed: R02Sd709e5d45a8e1e92aa42f2cd8f1dffad 1276s 1..7 1276s # Start of mappedfile tests 1276s ok 1 /mappedfile/basic 1276s ok 2 /mappedfile/empty 1276s ok 3 /mappedfile/device 1276s ok 4 /mappedfile/nonexisting 1276s ok 5 /mappedfile/writable 1276s ok 6 /mappedfile/writable_fd 1276s ok 7 /mappedfile/gbytes 1276s # End of mappedfile tests 1276s ok - glib/mappedfile.test 1276s # Running test: glib/live-g-file.test 1276s TAP version 13 1276s # random seed: R02Scf8ed1b8e6098a46671ae5ae0e0af91e 1276s 1..13 1276s # Start of live-g-file tests 1276s # Cleaning target testing structure in 'testdir_live-g-file'... 1276s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1276s ok 1 /live-g-file/prep_clean_structure 1276s # 1276s # Going to create testing structure in 'testdir_live-g-file'... 1276s # Creating directory 'dir1'... 1276s # Creating directory 'dir1/subdir'... 1276s # Creating directory 'dir2'... 1276s # Creating directory 'dir-target'... 1276s # Creating directory 'dir_no-access'... 1276s # Creating directory 'dir_no-write'... 1276s # Creating file 'target-file'... 1276s # Creating file 'normal_file'... 1276s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1276s # Creating file 'executable_file'... 1276s # Creating file 'private_file'... 1276s # Creating file 'normal_file2'... 1276s # Creating file 'readonly_file'... 1276s # Creating file 'UTF_pr?i?lis? z'... 1276s # Creating directory 'dir_pr?i?lis? z'... 1276s # Creating symlink 'lost_symlink' --> 'nowhere'... 1276s # Creating directory 'dir_hidden'... 1276s # Creating file 'dir_hidden/.a-hidden-file'... 1276s # Creating file 'dir_hidden/file-in-.hidden1'... 1276s # Creating file 'dir_hidden/file-in-.hidden2'... 1276s # Creating pattern file... 1276s # done. 1276s ok 2 /live-g-file/create_structure 1276s # Testing sample structure in 'testdir_live-g-file'... 1276s # Testing file 'dir1'... 1276s # Testing file 'dir1/subdir'... 1276s # Testing file 'dir2'... 1276s # Testing file 'dir-target'... 1276s # Testing file 'dir_no-access'... 1276s # Testing file 'dir_no-write'... 1276s # Testing file 'target-file'... 1276s # Testing file 'normal_file'... 1276s # Testing file 'normal_file-symlink'... 1276s # Testing file 'executable_file'... 1276s # Testing file 'private_file'... 1276s # Testing file 'normal_file2'... 1276s # Testing file 'readonly_file'... 1276s # Testing file 'UTF_pr?i?lis? z'... 1276s # Testing file 'dir_pr?i?lis? z'... 1276s # Testing file 'lost_symlink'... 1276s # Testing file 'dir_hidden'... 1276s # Testing file 'dir_hidden/.a-hidden-file'... 1276s # Testing file 'dir_hidden/file-in-.hidden1'... 1276s # Testing file 'dir_hidden/file-in-.hidden2'... 1276s # Testing pattern file... 1276s # read 65536 bytes, total = 65536 of 65536. 1276s ok 3 /live-g-file/test_initial_structure 1276s # Traversing through the sample structure in 'testdir_live-g-file'... 1276s # Found file dir1, relative to root: dir1 1276s # Found file subdir, relative to root: dir1/subdir 1276s # Found file dir2, relative to root: dir2 1276s # Found file dir-target, relative to root: dir-target 1276s # Found file dir_no-access, relative to root: dir_no-access 1276s # Found file dir_no-write, relative to root: dir_no-write 1276s # Found file target-file, relative to root: target-file 1276s # Found file normal_file, relative to root: normal_file 1276s # Found file normal_file-symlink, relative to root: normal_file-symlink 1276s # Found file executable_file, relative to root: executable_file 1276s # Found file private_file, relative to root: private_file 1276s # Found file normal_file2, relative to root: normal_file2 1276s # Found file readonly_file, relative to root: readonly_file 1276s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1276s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1276s # Found file lost_symlink, relative to root: lost_symlink 1276s # Found file dir_hidden, relative to root: dir_hidden 1276s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1276s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1276s # Found file .hidden, relative to root: dir_hidden/.hidden 1276s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1276s # Found file pattern_file, relative to root: pattern_file 1276s ok 4 /live-g-file/test_traverse_structure 1276s # Test enumerate 'testdir_live-g-file'... 1276s # Testing file 'dir_no-access' 1276s # Testing file 'normal_file' 1276s # Testing file 'normal_file-symlink' 1276s # Testing file 'not_exists' 1276s # Testing file 'not_exists' 1276s # Testing file 'not_exists2' 1276s # Testing file 'not_exists3' 1276s # Testing file 'not_exists4' 1276s # Testing file 'dir_no-execute/file' 1276s ok 5 /live-g-file/test_enumerate 1276s # test_open: 'dir1' 1276s # test_open: 'dir_no-access' 1276s # test_open: 'target-file' 1276s # test_open: 'normal_file-symlink' 1276s # test_open: 'executable_file' 1276s # test_open: 'private_file' 1276s # test_open: 'readonly_file' 1276s # test_open: 'UTF_pr?i?lis? z' 1276s # test_open: 'pattern_file' 1276s # test_open: 'not_exists' 1276s # test_open: 'dir_no-execute/file' 1276s # test_open: 'lost_symlink' 1276s ok 6 /live-g-file/test_open 1276s # test_create: 'dir1' 1276s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir1?: Is a directory 1276s # test_create: 'dir1/subdir' 1276s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir1/subdir?: Is a directory 1276s # test_create: 'dir2' 1276s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir2?: File exists 1276s # test_create: 'normal_file' 1276s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/normal_file?: File exists 1276s # test_create: 'executable_file' 1276s # test_create: 'private_file' 1276s # test_create: 'normal_file2' 1276s # test_create: 'UTF_pr?i?lis? z' 1276s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1276s # test_create: 'dir_pr?i?lis? z' 1276s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1276s # test_create: 'pattern_file' 1276s # test_create: 'not_exists2' 1276s # test_create: 'not_exists3' 1276s # test_create: 'not_exists4' 1276s ok 7 /live-g-file/test_create 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir1/subdir' --> '.' 1276s # res = 0, error code 2 = Target file exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir1/subdir' --> 'target-file' 1276s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir2' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir-target' --> 'dir-target' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir-target' --> '.' 1276s # res = 0, error code 2 = Target file exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir-target' --> 'target-file' 1276s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/dir-target?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir-target' --> 'not_exists' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir-target' --> 'dir_no-access' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'dir-target' --> 'dir_no-write' 1276s # res = 0, error code 25 = Can?t recursively copy directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'target-file' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'target-file' --> '.' 1276s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file?: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'target-file' --> 'target-file' 1276s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/target-file?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'target-file' --> 'not_exists' 1276s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'target-file' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'target-file' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file-symlink' --> '.' 1276s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/normal_file-symlink: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1276s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1276s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> '.' 1276s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/executable_file?: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> 'target-file' 1276s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/executable_file?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> 'not_exists' 1276s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'executable_file' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> '.' 1276s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/private_file?: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> 'target-file' 1276s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/private_file?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> 'not_exists' 1276s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'private_file' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> '.' 1276s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/normal_file2?: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> 'target-file' 1276s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> 'not_exists' 1276s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1276s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1276s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1276s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'pattern_file' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'pattern_file' --> '.' 1276s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/pattern_file?: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'pattern_file' --> 'target-file' 1276s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'pattern_file' --> 'not_exists' 1276s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> 'dir-target' 1276s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> '.' 1276s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> 'target-file' 1276s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> 'not_exists' 1276s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> 'dir_no-access' 1276s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> 'dir_no-write' 1276s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists?: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'not_exists' --> 'dir-target' 1276s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'lost_symlink' --> 'dir-target' 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'lost_symlink' --> '.' 1276s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/lost_symlink: File exists 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'lost_symlink' --> 'target-file' 1276s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'lost_symlink' --> 'not_exists' 1276s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1276s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1276s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1276s ok 8 /live-g-file/test_copy_move 1276s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir1 1276s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir1: Directory not empty 1276s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir2 1276s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir2: No such file or directory 1276s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/executable_file 1276s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/readonly_file 1276s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_pr?i?lis? z 1276s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists 1276s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists: No such file or directory 1276s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists 1276s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/not_exists: No such file or directory 1276s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-execute/file 1276s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1276s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-45ZKK2/testdir_live-g-file/lost_symlink 1276s ok 9 /live-g-file/test_delete 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s ok 10 /live-g-file/test_make_directory_with_parents 1276s # Cleaning target testing structure in 'testdir_live-g-file'... 1276s # deleting 'dir1' 1276s # deleting 'subdir' 1276s # deleting 'dir-target' 1276s # deleting 'dir2' 1276s # deleting 'target-file' 1276s # deleting 'normal_file-symlink' 1276s # deleting 'pattern_file' 1276s # deleting 'executable_file' 1276s # deleting 'private_file' 1276s # deleting 'normal_file2' 1276s # deleting 'UTF_pr?i?lis? z' 1276s # deleting 'lost_symlink' 1276s # deleting 'dir_no-access' 1276s # deleting 'dir_no-write' 1276s # deleting 'target-file' 1276s # deleting 'normal_file' 1276s # deleting 'normal_file-symlink' 1276s # deleting 'executable_file~' 1276s # deleting 'private_file' 1276s # deleting 'normal_file2~' 1276s # deleting 'a' 1276s # deleting 'UTF_pr?i?lis? z' 1276s # deleting 'dir_hidden' 1276s # deleting '.a-hidden-file' 1276s # deleting 'file-in-.hidden1' 1276s # deleting '.hidden' 1276s # deleting 'file-in-.hidden2' 1276s # deleting 'pattern_file' 1276s # deleting 'normal_file2' 1276s # deleting 'not_exists2' 1276s # deleting 'not_exists3' 1276s # deleting 'not_exists4' 1276s ok 11 /live-g-file/final_clean 1276s # Start of test_unix_is_mountpoint tests 1276s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1276s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1276s # End of test_unix_is_mountpoint tests 1276s # End of live-g-file tests 1276s ok - glib/live-g-file.test 1276s # Running test: glib/charset.test 1276s TAP version 13 1276s # random seed: R02S0db4ccfa586f36b033554bd5b1c720f5 1276s 1..2 1276s # Start of charset tests 1276s # Test 0 1276s # Test 1 1276s # Test 2 1276s # Test 3 1276s ok 1 /charset/language_names_with_category 1276s ok 2 /charset/language_names_with_category_async 1276s # End of charset tests 1276s ok - glib/charset.test 1276s # Running test: glib/scannerapi.test 1276s TAP version 13 1276s # random seed: R02Sb484fe97474e65067829069ee53cf3d8 1276s 1..4 1276s # Start of scanner tests 1276s ok 1 /scanner/warn 1276s ok 2 /scanner/error 1276s ok 3 /scanner/symbols 1276s ok 4 /scanner/tokens 1276s # End of scanner tests 1276s ok - glib/scannerapi.test 1276s # Running test: glib/hmac.test 1276s TAP version 13 1276s # random seed: R02S76170db5cd5dc8692a3c0efdd0c84866 1276s 1..37 1276s # Start of hmac tests 1276s ok 1 /hmac/sha1-1 1276s ok 2 /hmac/sha1-2 1276s ok 3 /hmac/sha1-3 1276s ok 4 /hmac/sha1-4 1276s ok 5 /hmac/sha1-5 1276s ok 6 /hmac/sha1-6 1276s ok 7 /hmac/sha1-7 1276s ok 8 /hmac/sha256-1 1276s ok 9 /hmac/sha256-2 1276s ok 10 /hmac/sha256-3 1276s ok 11 /hmac/sha256-4 1276s ok 12 /hmac/sha256-5 1276s ok 13 /hmac/sha256-6 1276s ok 14 /hmac/sha384-1 1276s ok 15 /hmac/sha384-2 1276s ok 16 /hmac/sha384-3 1276s ok 17 /hmac/sha384-4 1276s ok 18 /hmac/sha384-5 1276s ok 19 /hmac/sha384-6 1276s ok 20 /hmac/sha512-1 1276s ok 21 /hmac/sha512-2 1276s ok 22 /hmac/sha512-3 1276s ok 23 /hmac/sha512-4 1276s ok 24 /hmac/sha512-5 1276s ok 25 /hmac/sha512-6 1276s ok 26 /hmac/md5-1 1276s ok 27 /hmac/md5-2 1276s ok 28 /hmac/md5-3 1276s ok 29 /hmac/md5-4 1276s ok 30 /hmac/md5-5 1276s ok 31 /hmac/md5-6 1276s ok 32 /hmac/md5-7 1276s ok 33 /hmac/ref-unref 1276s ok 34 /hmac/copy 1276s ok 35 /hmac/for-data 1276s ok 36 /hmac/for-string 1276s ok 37 /hmac/for-bytes 1276s # End of hmac tests 1276s ok - glib/hmac.test 1276s # Running test: glib/bindinggroup.test 1276s TAP version 13 1276s # random seed: R02Sbffa690bfe3dc25ef5454b3ef2f8df97 1276s 1..11 1276s # Start of GObject tests 1276s # Start of BindingGroup tests 1276s ok 1 /GObject/BindingGroup/invalid 1276s ok 2 /GObject/BindingGroup/default 1276s ok 3 /GObject/BindingGroup/bidirectional 1276s ok 4 /GObject/BindingGroup/transform 1276s ok 5 /GObject/BindingGroup/transform-closures 1276s ok 6 /GObject/BindingGroup/same-object 1276s ok 7 /GObject/BindingGroup/weak-ref-source 1276s ok 8 /GObject/BindingGroup/weak-ref-target 1276s ok 9 /GObject/BindingGroup/properties 1276s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1276s ok 11 /GObject/BindingGroup/empty-closures 1276s # End of BindingGroup tests 1276s # End of GObject tests 1276s ok - glib/bindinggroup.test 1276s # Running test: glib/memory-settings-backend.test 1276s TAP version 13 1276s # random seed: R02Sa9e1fc1902982b27f790b8530297bbef 1276s 1..1 1276s # Start of memory-settings-backend tests 1276s ok 1 /memory-settings-backend/extension-point-registered 1276s # End of memory-settings-backend tests 1276s ok - glib/memory-settings-backend.test 1276s # Running test: glib/basic-signals.test 1276s TAP version 13 1276s # random seed: R02S4f6234e43aa462b1af2a9fcf0a476b48 1276s 1..1 1276s # Start of gobject tests 1276s ok 1 /gobject/basic-signals 1276s # End of gobject tests 1276s ok - glib/basic-signals.test 1276s # Running test: glib/function-info.test 1276s TAP version 13 1276s # random seed: R02S63e9483687cc547e2557c6883f76f50b 1276s 1..1 1276s # Start of function-info tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_KHGLK2/function-info/invoker/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /function-info/invoker summary: Test preparing a function invoker 1276s ok 1 /function-info/invoker 1276s # End of function-info tests 1276s ok - glib/function-info.test 1276s # Running test: glib/repository.test 1276s TAP version 13 1276s # random seed: R02See8b29052acfd331e6a4c510c6ca83fb 1276s 1..20 1276s # Start of repository tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/basic/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/basic/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/basic/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/basic/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/basic/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/basic/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/basic/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/basic/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/basic/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/basic/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1276s ok 1 /repository/basic 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/info/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/info/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/info/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/info/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/info/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/info/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/info/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/info/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/info/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/info/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1276s ok 2 /repository/info 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/dependencies/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/dependencies/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/dependencies/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1276s ok 3 /repository/dependencies 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/arg-info/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/arg-info/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/arg-info/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1276s ok 4 /repository/arg-info 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/callable-info/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/callable-info/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/callable-info/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1276s ok 5 /repository/callable-info 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/callback-info/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/callback-info/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/callback-info/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1276s ok 6 /repository/callback-info 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/char-types/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/char-types/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/char-types/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1276s ok 7 /repository/char-types 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/constructor-return-type/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1276s ok 8 /repository/constructor-return-type 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/enum-info-c-identifier/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1276s ok 9 /repository/enum-info-c-identifier 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/enum-info-static-methods/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/enum-info-static-methods summary: Test an enum with methods 1276s ok 10 /repository/enum-info-static-methods 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/error-quark/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/error-quark/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/error-quark/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/error-quark summary: Test finding an error quark by error domain 1276s ok 11 /repository/error-quark 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/flags-info-c-identifier/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1276s ok 12 /repository/flags-info-c-identifier 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/fundamental-ref-func/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1276s ok 13 /repository/fundamental-ref-func 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/instance-method-ownership-transfer/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1276s ok 14 /repository/instance-method-ownership-transfer 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/object-gtype-interfaces/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1276s ok 15 /repository/object-gtype-interfaces 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1276s ok 16 /repository/signal-info-with-array-length-arg 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/type-info-name/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1276s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1276s ok 17 /repository/type-info-name 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1276s ok 18 /repository/vfunc-info-with-no-invoker 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1276s ok 19 /repository/vfunc-info-with-invoker-on-interface 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CQCLK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1276s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1276s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1276s ok 20 /repository/vfunc-info-with-invoker-on-object 1276s # End of repository tests 1276s ok - glib/repository.test 1276s # Running test: glib/refcount-macro.test 1276s TAP version 13 1276s # random seed: R02S762a5cc72296566d9df3567f21b1dfc0 1276s 1..4 1276s # Start of refcount tests 1276s ok 1 /refcount/grefcount 1276s ok 2 /refcount/gatomicrefcount 1276s # Start of grefcount tests 1276s ok 3 /refcount/grefcount/saturation 1276s # End of grefcount tests 1276s # Start of gatomicrefcount tests 1276s ok 4 /refcount/gatomicrefcount/saturation 1276s # End of gatomicrefcount tests 1276s # End of refcount tests 1276s ok - glib/refcount-macro.test 1276s # Running test: glib/fileutils.test 1276s TAP version 13 1276s # random seed: R02S44dcc6a7b75737df966c88a8e7cffc9f 1276s 1..27 1276s # Start of fileutils tests 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/paths/.dirs/runtime 1276s ok 1 /fileutils/paths 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/build-path/.dirs/runtime 1276s ok 2 /fileutils/build-path 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/build-pathv/.dirs/runtime 1276s ok 3 /fileutils/build-pathv 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/build-filename/.dirs/runtime 1276s ok 4 /fileutils/build-filename 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/build-filenamev/.dirs/runtime 1276s ok 5 /fileutils/build-filenamev 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/system-config2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/config 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/system-data2 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/data 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/state 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents/.dirs/runtime 1276s # We do not have CAP_DAC_OVERRIDE or equivalent 1276s ok 6 /fileutils/mkdir-with-parents 1276s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/home 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1276s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 7 /fileutils/mkdir-with-parents-permission 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/format-size-for-display/.dirs/runtime 1277s ok 8 /fileutils/format-size-for-display 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/errors/.dirs/runtime 1277s ok 9 /fileutils/errors 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/basename/.dirs/runtime 1277s ok 10 /fileutils/basename 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/get-basename/.dirs/runtime 1277s ok 11 /fileutils/get-basename 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/dirname/.dirs/runtime 1277s ok 12 /fileutils/dirname 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/dir-make-tmp/.dirs/runtime 1277s ok 13 /fileutils/dir-make-tmp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/file-open-tmp/.dirs/runtime 1277s ok 14 /fileutils/file-open-tmp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/file-test/.dirs/runtime 1277s ok 15 /fileutils/file-test 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/mkstemp/.dirs/runtime 1277s ok 16 /fileutils/mkstemp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/mkdtemp/.dirs/runtime 1277s ok 17 /fileutils/mkdtemp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/get-contents/.dirs/runtime 1277s ok 18 /fileutils/get-contents 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/get-contents-large-file/.dirs/runtime 1277s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/set-contents/.dirs/runtime 1277s ok 20 /fileutils/set-contents 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/.dirs/runtime 1277s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1277s # Flags 0 and test 0 1277s # Flags 0 and test 1 1277s # Flags 0 and test 2 1277s # Flags 0 and test 3 1277s # Flags 0 and test 4 1277s # Flags 0 and test 5 1277s # Flags 1 and test 0 1277s # Flags 1 and test 1 1277s # Flags 1 and test 2 1277s # Flags 1 and test 3 1277s # Flags 1 and test 4 1277s # Flags 1 and test 5 1277s # Flags 2 and test 0 1277s # Flags 2 and test 1 1277s # Flags 2 and test 2 1277s # Flags 2 and test 3 1277s # Flags 2 and test 4 1277s # Flags 2 and test 5 1277s # Flags 3 and test 0 1277s # Flags 3 and test 1 1277s # Flags 3 and test 2 1277s # Flags 3 and test 3 1277s # Flags 3 and test 4 1277s # Flags 3 and test 5 1277s # Flags 4 and test 0 1277s # Flags 4 and test 1 1277s # Flags 4 and test 2 1277s # Flags 4 and test 3 1277s # Flags 4 and test 4 1277s # Flags 4 and test 5 1277s # Flags 5 and test 0 1277s # Flags 5 and test 1 1277s # Flags 5 and test 2 1277s # Flags 5 and test 3 1277s # Flags 5 and test 4 1277s # Flags 5 and test 5 1277s # Flags 6 and test 0 1277s # Flags 6 and test 1 1277s # Flags 6 and test 2 1277s # Flags 6 and test 3 1277s # Flags 6 and test 4 1277s # Flags 6 and test 5 1277s ok 21 /fileutils/set-contents-full 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/read-link/.dirs/runtime 1277s ok 22 /fileutils/read-link 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/stdio-wrappers/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 23 /fileutils/stdio-wrappers 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/fopen-modes/.dirs/runtime 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1277s # Testing fopen() mode 'w' 1277s # Testing fopen() mode 'r' 1277s # Testing fopen() mode 'a' 1277s # Testing fopen() mode 'w+' 1277s # Testing fopen() mode 'r+' 1277s # Testing fopen() mode 'a+' 1277s # Testing fopen() mode 'wb' 1277s # Testing fopen() mode 'rb' 1277s # Testing fopen() mode 'ab' 1277s # Testing fopen() mode 'w+b' 1277s # Testing fopen() mode 'r+b' 1277s # Testing fopen() mode 'a+b' 1277s # Testing fopen() mode 'wb+' 1277s # Testing fopen() mode 'rb+' 1277s # Testing fopen() mode 'ab+' 1277s ok 24 /fileutils/fopen-modes 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/clear-fd/.dirs/runtime 1277s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1277s # Will be closed by autocleanup: 3, -42 1277s # Testing error handling 1277s ok 25 /fileutils/clear-fd 1277s # Start of set-contents-full tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1277s ok 26 /fileutils/set-contents-full/read-only-file 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_82AMK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1277s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1277s # Flags 0 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 1 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 2 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 3 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 4 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 5 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 6 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 27 /fileutils/set-contents-full/read-only-directory 1277s # End of set-contents-full tests 1277s # Start of clear-fd tests 1277s # Start of subprocess tests 1277s # End of subprocess tests 1277s # End of clear-fd tests 1277s # End of fileutils tests 1277s ok - glib/fileutils.test 1277s # Running test: glib/bookmarkfile.test 1277s TAP version 13 1277s # random seed: R02Sb621a3067d56f600fcfb1bdeac109241 1277s 1..96 1277s # Start of bookmarks tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/load-from-data-dirs/.dirs/runtime 1277s ok 1 /bookmarks/load-from-data-dirs 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/to-file/.dirs/runtime 1277s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_BODOK2/bookmarkfile-test-YECOK2.xbel 1277s # Roundtrip from a valid bookmark file 1277s ok 2 /bookmarks/to-file 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/move-item/.dirs/runtime 1277s ok 3 /bookmarks/move-item 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/corner-cases/.dirs/runtime 1277s ok 4 /bookmarks/corner-cases 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/misc/.dirs/runtime 1277s ok 5 /bookmarks/misc 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/deprecated/.dirs/runtime 1277s ok 6 /bookmarks/deprecated 1277s # Start of parse tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1277s ok 7 /bookmarks/parse/fail-27.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1277s ok 8 /bookmarks/parse/fail-33.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1277s ok 9 /bookmarks/parse/fail-06.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1277s ok 10 /bookmarks/parse/fail-38.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1277s ok 11 /bookmarks/parse/fail-04.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1277s ok 12 /bookmarks/parse/fail-21.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1277s ok 13 /bookmarks/parse/valid-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1277s ok 14 /bookmarks/parse/fail-39.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1277s ok 15 /bookmarks/parse/fail-42.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1277s ok 16 /bookmarks/parse/fail-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1277s ok 17 /bookmarks/parse/fail-24.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1277s ok 18 /bookmarks/parse/fail-28.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1277s ok 19 /bookmarks/parse/fail-08.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1277s ok 20 /bookmarks/parse/fail-22.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1277s ok 21 /bookmarks/parse/fail-29.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1277s ok 22 /bookmarks/parse/fail-13.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1277s ok 23 /bookmarks/parse/fail-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1277s ok 24 /bookmarks/parse/fail-30.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1277s ok 25 /bookmarks/parse/fail-05.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1277s ok 26 /bookmarks/parse/fail-17.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1277s ok 27 /bookmarks/parse/fail-14.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1277s ok 28 /bookmarks/parse/fail-15.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1277s ok 29 /bookmarks/parse/fail-35.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1277s ok 30 /bookmarks/parse/fail-41.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1277s ok 31 /bookmarks/parse/fail-36.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1277s ok 32 /bookmarks/parse/fail-11.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1277s ok 33 /bookmarks/parse/fail-07.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1277s ok 34 /bookmarks/parse/fail-25.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1277s ok 35 /bookmarks/parse/fail-10.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1277s ok 36 /bookmarks/parse/fail-19.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1277s ok 37 /bookmarks/parse/fail-34.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1277s ok 38 /bookmarks/parse/fail-20.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1277s ok 39 /bookmarks/parse/fail-09.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1277s ok 40 /bookmarks/parse/fail-23.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1277s ok 41 /bookmarks/parse/fail-40.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1277s ok 42 /bookmarks/parse/valid-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1277s ok 43 /bookmarks/parse/valid-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1277s ok 44 /bookmarks/parse/fail-26.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1277s ok 45 /bookmarks/parse/fail-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1277s ok 46 /bookmarks/parse/fail-32.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1277s ok 47 /bookmarks/parse/fail-16.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1277s ok 48 /bookmarks/parse/fail-31.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1277s ok 49 /bookmarks/parse/fail-12.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1277s ok 50 /bookmarks/parse/fail-37.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1277s ok 51 /bookmarks/parse/fail-18.xbel 1277s # End of parse tests 1277s # Start of copy tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1277s ok 52 /bookmarks/copy/fail-27.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1277s ok 53 /bookmarks/copy/fail-33.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1277s ok 54 /bookmarks/copy/fail-06.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1277s ok 55 /bookmarks/copy/fail-38.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1277s ok 56 /bookmarks/copy/fail-04.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1277s ok 57 /bookmarks/copy/fail-21.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1277s ok 58 /bookmarks/copy/valid-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1277s ok 59 /bookmarks/copy/fail-39.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1277s ok 60 /bookmarks/copy/fail-42.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1277s ok 61 /bookmarks/copy/fail-02.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1277s ok 62 /bookmarks/copy/fail-24.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1277s ok 63 /bookmarks/copy/fail-28.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1277s ok 64 /bookmarks/copy/fail-08.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1277s ok 65 /bookmarks/copy/fail-22.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1277s ok 66 /bookmarks/copy/fail-29.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1277s ok 67 /bookmarks/copy/fail-13.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1277s ok 68 /bookmarks/copy/fail-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1277s ok 69 /bookmarks/copy/fail-30.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1277s ok 70 /bookmarks/copy/fail-05.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1277s ok 71 /bookmarks/copy/fail-17.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1277s ok 72 /bookmarks/copy/fail-14.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1277s ok 73 /bookmarks/copy/fail-15.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1277s ok 74 /bookmarks/copy/fail-35.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1277s ok 75 /bookmarks/copy/fail-41.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1277s ok 76 /bookmarks/copy/fail-36.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1277s ok 77 /bookmarks/copy/fail-11.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1277s ok 78 /bookmarks/copy/fail-07.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1277s ok 79 /bookmarks/copy/fail-25.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1277s ok 80 /bookmarks/copy/fail-10.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1277s ok 81 /bookmarks/copy/fail-19.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1277s ok 82 /bookmarks/copy/fail-34.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1277s ok 83 /bookmarks/copy/fail-20.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1277s ok 84 /bookmarks/copy/fail-09.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1277s ok 85 /bookmarks/copy/fail-23.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1277s ok 86 /bookmarks/copy/fail-40.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1277s ok 87 /bookmarks/copy/valid-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1277s ok 88 /bookmarks/copy/valid-03.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1277s ok 89 /bookmarks/copy/fail-26.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1277s ok 90 /bookmarks/copy/fail-01.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1277s ok 91 /bookmarks/copy/fail-32.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1277s ok 92 /bookmarks/copy/fail-16.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1277s ok 93 /bookmarks/copy/fail-31.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1277s ok 94 /bookmarks/copy/fail-12.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1277s ok 95 /bookmarks/copy/fail-37.xbel 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_BODOK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1277s ok 96 /bookmarks/copy/fail-18.xbel 1277s # End of copy tests 1277s # End of bookmarks tests 1277s ok - glib/bookmarkfile.test 1277s # Running test: glib/union-info.test 1277s TAP version 13 1277s # random seed: R02S9c706ad851dfeb8310bf2b28760ebf95 1277s 1..2 1277s # Start of union-info tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_IATOK2/union-info/basic/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_IATOK2/union-info/basic/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_IATOK2/union-info/basic/.dirs/runtime 1277s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1277s # /union-info/basic summary: Test basic properties of GIUnionInfo 1277s ok 1 /union-info/basic 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_IATOK2/union-info/methods/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_IATOK2/union-info/methods/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_IATOK2/union-info/methods/.dirs/runtime 1277s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1277s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1277s ok 2 /union-info/methods 1277s # End of union-info tests 1277s ok - glib/union-info.test 1277s # Running test: glib/permission.test 1277s TAP version 13 1277s # random seed: R02S4ea7ca48882bf9d14fc66b49c5a5c3af 1277s 1..1 1277s # Start of permission tests 1277s ok 1 /permission/simple 1277s # End of permission tests 1277s ok - glib/permission.test 1277s # Running test: glib/node.test 1277s TAP version 13 1277s # random seed: R02S1fedaa67eeb31230d7d053f83deee26b 1277s 1..6 1277s # Start of node tests 1277s ok 1 /node/allocation 1277s ok 2 /node/construction 1277s ok 3 /node/traversal 1277s ok 4 /node/misc 1277s ok 5 /node/unlink 1277s ok 6 /node/copy 1277s # End of node tests 1277s ok - glib/node.test 1277s # Running test: glib/dir.test 1277s TAP version 13 1277s # random seed: R02Sb70fb5988e4e00366978f94e446eb218 1277s 1..3 1277s # Start of dir tests 1277s ok 1 /dir/read 1277s ok 2 /dir/nonexisting 1277s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1277s ok 3 /dir/refcounting 1277s # End of dir tests 1277s ok - glib/dir.test 1277s # Running test: glib/assert-msg-test.py.test 1277s TAP version 13 1277s ok 1 __main__.TestAssertMessage.test_gassert 1277s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1277s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1277s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1277s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1277s # Error: ** 1277s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1277s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1277s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1277s 1..2 1277s ok - glib/assert-msg-test.py.test 1277s # Running test: glib/gdbus-test-codegen.test 1277s TAP version 13 1277s # random seed: R02Saed86ff6a5a16363638da99aa2b5adc5 1277s 1..8 1277s # Start of gdbus tests 1277s # Start of codegen tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/annotations/.dirs/runtime 1277s ok 1 /gdbus/codegen/annotations 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/interface_stability/.dirs/runtime 1277s ok 2 /gdbus/codegen/interface_stability 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/object-manager/.dirs/runtime 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s ok 3 /gdbus/codegen/object-manager 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/property-naming/.dirs/runtime 1277s ok 4 /gdbus/codegen/property-naming 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/autocleanups/.dirs/runtime 1277s ok 5 /gdbus/codegen/autocleanups 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/deprecations/.dirs/runtime 1277s ok 6 /gdbus/codegen/deprecations 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1277s ok 7 /gdbus/codegen/standalone-interface-info 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_T8CRK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1277s ok 8 /gdbus/codegen/unix-fd-list 1277s # End of codegen tests 1277s # End of gdbus tests 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok - glib/gdbus-test-codegen.test 1277s # Running test: glib/array-test.test 1277s TAP version 13 1277s # random seed: R02S3507ab7002dea8ae6e0e6ef8bd810be5 1277s 1..113 1277s # Start of array tests 1277s ok 1 /array/ref-count 1277s ok 2 /array/steal 1277s ok 3 /array/clear-func 1277s ok 4 /array/binary-search 1277s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1277s ok 5 /array/copy-sized 1277s ok 6 /array/overflow-append-vals 1277s ok 7 /array/overflow-set-size 1277s # Start of new tests 1277s ok 8 /array/new/zero-terminated 1277s ok 9 /array/new/take 1277s ok 10 /array/new/take-zero-terminated 1277s # Start of take tests 1277s ok 11 /array/new/take/empty 1277s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1277s # End of take tests 1277s # End of new tests 1277s # Start of set-size tests 1277s ok 13 /array/set-size/non-zero-terminated-no-clear 1277s ok 14 /array/set-size/non-zero-terminated-clear 1277s ok 15 /array/set-size/zero-terminated-no-clear 1277s ok 16 /array/set-size/zero-terminated-clear 1277s # Start of sized tests 1277s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1277s ok 18 /array/set-size/sized/non-zero-terminated-clear 1277s ok 19 /array/set-size/sized/zero-terminated-no-clear 1277s ok 20 /array/set-size/sized/zero-terminated-clear 1277s # End of sized tests 1277s # End of set-size tests 1277s # Start of append-val tests 1277s ok 21 /array/append-val/non-zero-terminated-no-clear 1277s ok 22 /array/append-val/non-zero-terminated-clear 1277s ok 23 /array/append-val/zero-terminated-no-clear 1277s ok 24 /array/append-val/zero-terminated-clear 1277s # End of append-val tests 1277s # Start of prepend-val tests 1277s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1277s ok 26 /array/prepend-val/non-zero-terminated-clear 1277s ok 27 /array/prepend-val/zero-terminated-no-clear 1277s ok 28 /array/prepend-val/zero-terminated-clear 1277s # End of prepend-val tests 1277s # Start of prepend-vals tests 1277s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1277s ok 30 /array/prepend-vals/non-zero-terminated-clear 1277s ok 31 /array/prepend-vals/zero-terminated-no-clear 1277s ok 32 /array/prepend-vals/zero-terminated-clear 1277s # End of prepend-vals tests 1277s # Start of insert-vals tests 1277s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1277s ok 34 /array/insert-vals/non-zero-terminated-clear 1277s ok 35 /array/insert-vals/zero-terminated-no-clear 1277s ok 36 /array/insert-vals/zero-terminated-clear 1277s # End of insert-vals tests 1277s # Start of remove-index tests 1277s ok 37 /array/remove-index/non-zero-terminated-no-clear 1277s ok 38 /array/remove-index/non-zero-terminated-clear 1277s ok 39 /array/remove-index/zero-terminated-no-clear 1277s ok 40 /array/remove-index/zero-terminated-clear 1277s # End of remove-index tests 1277s # Start of remove-index-fast tests 1277s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1277s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1277s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1277s ok 44 /array/remove-index-fast/zero-terminated-clear 1277s # End of remove-index-fast tests 1277s # Start of remove-range tests 1277s ok 45 /array/remove-range/non-zero-terminated-no-clear 1277s ok 46 /array/remove-range/non-zero-terminated-clear 1277s ok 47 /array/remove-range/zero-terminated-no-clear 1277s ok 48 /array/remove-range/zero-terminated-clear 1277s # End of remove-range tests 1277s # Start of copy tests 1277s ok 49 /array/copy/non-zero-terminated-no-clear 1277s ok 50 /array/copy/non-zero-terminated-clear 1277s ok 51 /array/copy/zero-terminated-no-clear 1277s ok 52 /array/copy/zero-terminated-clear 1277s # End of copy tests 1277s # Start of sort tests 1277s ok 53 /array/sort/non-zero-terminated-no-clear 1277s ok 54 /array/sort/non-zero-terminated-clear 1277s ok 55 /array/sort/zero-terminated-no-clear 1277s ok 56 /array/sort/zero-terminated-clear 1277s # End of sort tests 1277s # Start of sort-with-data tests 1277s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1277s ok 58 /array/sort-with-data/non-zero-terminated-clear 1277s ok 59 /array/sort-with-data/zero-terminated-no-clear 1277s ok 60 /array/sort-with-data/zero-terminated-clear 1277s # End of sort-with-data tests 1277s # End of array tests 1277s # Start of pointerarray tests 1277s ok 61 /pointerarray/add 1277s ok 62 /pointerarray/insert 1277s ok 63 /pointerarray/new-take 1277s ok 64 /pointerarray/new-take-null-terminated 1277s ok 65 /pointerarray/new-from-array 1277s ok 66 /pointerarray/new-from-null-terminated-array 1277s ok 67 /pointerarray/free-func 1277s ok 68 /pointerarray/array_extend_and_steal 1277s ok 69 /pointerarray/sort 1277s ok 70 /pointerarray/sort-with-data 1277s ok 71 /pointerarray/sort-values 1277s ok 72 /pointerarray/sort-values-with-data 1277s ok 73 /pointerarray/remove-range 1277s ok 74 /pointerarray/steal 1277s # Start of free tests 1277s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1277s ok 75 /pointerarray/free/null-terminated 1277s # End of free tests 1277s # Start of new-take tests 1277s ok 76 /pointerarray/new-take/empty 1277s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1277s ok 78 /pointerarray/new-take/with-free-func 1277s # End of new-take tests 1277s # Start of new-take-null-terminated tests 1277s ok 79 /pointerarray/new-take-null-terminated/empty 1277s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1277s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1277s # End of new-take-null-terminated tests 1277s # Start of new-from-array tests 1277s ok 82 /pointerarray/new-from-array/empty 1277s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1277s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1277s # End of new-from-array tests 1277s # Start of new-from-null-terminated-array tests 1277s ok 85 /pointerarray/new-from-null-terminated-array/empty 1277s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1277s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1277s # End of new-from-null-terminated-array tests 1277s # Start of ref-count tests 1277s ok 88 /pointerarray/ref-count/not-null-terminated 1277s ok 89 /pointerarray/ref-count/null-terminated 1277s # End of ref-count tests 1277s # Start of array_copy tests 1277s # /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 1277s ok 90 /pointerarray/array_copy/not-null-terminated 1277s # /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 1277s ok 91 /pointerarray/array_copy/null-terminated 1277s # End of array_copy tests 1277s # Start of array_extend tests 1277s ok 92 /pointerarray/array_extend/not-null-terminated 1277s ok 93 /pointerarray/array_extend/null-terminated 1277s # End of array_extend tests 1277s # Start of sort tests 1277s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1277s ok 94 /pointerarray/sort/example 1277s # End of sort tests 1277s # Start of sort-with-data tests 1277s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1277s ok 95 /pointerarray/sort-with-data/example 1277s # End of sort-with-data tests 1277s # Start of sort-values tests 1277s ok 96 /pointerarray/sort-values/example 1277s # End of sort-values tests 1277s # Start of sort-values-with-data tests 1277s ok 97 /pointerarray/sort-values-with-data/example 1277s # End of sort-values-with-data tests 1277s # Start of find tests 1277s ok 98 /pointerarray/find/empty 1277s ok 99 /pointerarray/find/non-empty 1277s # End of find tests 1277s # Start of steal_index tests 1277s ok 100 /pointerarray/steal_index/not-null-terminated 1277s ok 101 /pointerarray/steal_index/null-terminated 1277s # End of steal_index tests 1277s # End of pointerarray tests 1277s # Start of bytearray tests 1277s ok 102 /bytearray/steal 1277s ok 103 /bytearray/append 1277s ok 104 /bytearray/prepend 1277s ok 105 /bytearray/remove 1277s ok 106 /bytearray/remove-fast 1277s ok 107 /bytearray/remove-range 1277s ok 108 /bytearray/ref-count 1277s ok 109 /bytearray/sort 1277s ok 110 /bytearray/sort-with-data 1277s ok 111 /bytearray/new-take 1277s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1277s ok 113 /bytearray/free-to-bytes 1277s # End of bytearray tests 1277s ok - glib/array-test.test 1277s # Running test: glib/markup.test 1277s TAP version 13 1277s # random seed: R02S4e210ad6342a6c0c4386ac7e834946f6 1277s 1..1 1277s # Start of markup tests 1277s ok 1 /markup/stack 1277s # End of markup tests 1277s ok - glib/markup.test 1277s # Running test: glib/socket.test 1277s TAP version 13 1277s # random seed: R02Sbcebbc3c01cc9b8a99d797cc9c1f72c8 1277s 1..28 1277s # Start of socket tests 1277s # Executing: glib/socket.test 1278s ok 1 /socket/ipv4_sync 1278s # slow test /socket/ipv4_sync executed in 1.00 secs 1279s ok 2 /socket/ipv4_async 1279s # slow test /socket/ipv4_async executed in 1.00 secs 1279s ok 3 /socket/ipv6_sync 1279s ok 4 /socket/ipv6_async 1279s ok 5 /socket/ipv6_v4mapped 1280s ok 6 /socket/close_graceful 1280s # slow test /socket/close_graceful executed in 1.00 secs 1280s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1280s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1280s ok 8 /socket/fd_reuse 1280s ok 9 /socket/address 1280s ok 10 /socket/unix-from-fd 1280s ok 11 /socket/unix-connection 1280s ok 12 /socket/unix-connection-ancillary-data 1280s ok 13 /socket/source-postmortem 1280s ok 14 /socket/read_write 1280s ok 15 /socket/read_writev 1280s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1280s ok 16 /socket/receive_bytes 1280s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1280s ok 17 /socket/receive_bytes_from 1280s # Start of ipv4_sync tests 1280s ok 18 /socket/ipv4_sync/datagram 1280s # Start of datagram tests 1281s ok 19 /socket/ipv4_sync/datagram/timeouts 1281s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1281s # End of datagram tests 1281s # End of ipv4_sync tests 1281s # Start of ipv6_sync tests 1281s ok 20 /socket/ipv6_sync/datagram 1281s # Start of datagram tests 1282s ok 21 /socket/ipv6_sync/datagram/timeouts 1282s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1282s # End of datagram tests 1282s # End of ipv6_sync tests 1282s # Start of reuse tests 1282s ok 22 /socket/reuse/tcp 1282s ok 23 /socket/reuse/udp 1282s # End of reuse tests 1282s # Start of get_available tests 1282s ok 24 /socket/get_available/datagram 1282s ok 25 /socket/get_available/stream 1282s # End of get_available tests 1282s # Start of credentials tests 1282s # Supported on this OS: GCredentials:linux-ucred:pid=0 1282s ok 26 /socket/credentials/tcp_client 1282s # Supported on this OS: GCredentials:linux-ucred:pid=0 1282s ok 27 /socket/credentials/tcp_server 1282s # Supported on this OS: GCredentials:linux-ucred:pid=11018,uid=1000,gid=1000 1282s ok 28 /socket/credentials/unix_socketpair 1282s # End of credentials tests 1282s # End of socket tests 1282s ok - glib/socket.test 1282s # Running test: glib/g-file-info-filesystem-readonly.test 1282s TAP version 13 1282s # random seed: R02S7afd3564a5ea2c37455507130c268460 1282s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1282s 1..2 1282s # Start of g-file-info-filesystem-readonly tests 1282s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1282s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1282s # End of g-file-info-filesystem-readonly tests 1282s ok - glib/g-file-info-filesystem-readonly.test 1282s # Running test: glib/relation.test 1282s TAP version 13 1282s # random seed: R02Scd8410c89be54b7844e51807711e6faf 1282s 1..1 1282s # Start of glib tests 1282s ok 1 /glib/relation 1282s # End of glib tests 1282s ok - glib/relation.test 1282s # Running test: glib/accumulator.test 1282s TAP version 13 1282s # random seed: R02S5968e4bd29ffa4d8a5e1cae5731f362e 1282s 1..1 1282s # Start of gobject tests 1282s ok 1 /gobject/accumulator 1282s # End of gobject tests 1282s ok - glib/accumulator.test 1282s # Running test: glib/rec-mutex.test 1282s TAP version 13 1282s # random seed: R02Sdbbe6fae868131531eb14ab7ec80298c 1282s 1..29 1282s # Start of thread tests 1282s ok 1 /thread/rec-mutex1 1282s ok 2 /thread/rec-mutex2 1282s ok 3 /thread/rec-mutex3 1282s ok 4 /thread/rec-mutex4 1282s # Start of rec-mutex tests 1282s # Start of perf tests 1282s # Start of uncontended tests 1282s # max perf: 1.000000 mips 1282s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1282s # max perf: inf mips 1282s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1282s # max perf: inf mips 1282s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1282s # max perf: inf mips 1282s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1282s # max perf: 1.000000 mips 1282s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1282s # End of uncontended tests 1282s # Start of contended1 tests 1282s # max perf: 2.000000 mips 1282s ok 10 /thread/rec-mutex/perf/contended1/depth1 1282s # max perf: 2.000000 mips 1282s ok 11 /thread/rec-mutex/perf/contended1/depth2 1282s # max perf: inf mips 1282s ok 12 /thread/rec-mutex/perf/contended1/depth3 1282s # max perf: 2.000000 mips 1282s ok 13 /thread/rec-mutex/perf/contended1/depth4 1282s # max perf: 2.000000 mips 1282s ok 14 /thread/rec-mutex/perf/contended1/depth5 1282s # End of contended1 tests 1282s # Start of contended2 tests 1282s # max perf: inf mips 1282s ok 15 /thread/rec-mutex/perf/contended2/depth1 1282s # max perf: 3.000000 mips 1282s ok 16 /thread/rec-mutex/perf/contended2/depth2 1282s # max perf: 3.000000 mips 1282s ok 17 /thread/rec-mutex/perf/contended2/depth3 1282s # max perf: 3.000000 mips 1282s ok 18 /thread/rec-mutex/perf/contended2/depth4 1282s # max perf: 1.500000 mips 1282s ok 19 /thread/rec-mutex/perf/contended2/depth5 1282s # End of contended2 tests 1282s # Start of contended3 tests 1282s # max perf: 4.000000 mips 1282s ok 20 /thread/rec-mutex/perf/contended3/depth1 1282s # max perf: inf mips 1282s ok 21 /thread/rec-mutex/perf/contended3/depth2 1282s # max perf: 4.000000 mips 1282s ok 22 /thread/rec-mutex/perf/contended3/depth3 1282s # max perf: 2.000000 mips 1282s ok 23 /thread/rec-mutex/perf/contended3/depth4 1282s # max perf: 4.000000 mips 1282s ok 24 /thread/rec-mutex/perf/contended3/depth5 1282s # End of contended3 tests 1282s # Start of contended4 tests 1282s # max perf: 5.000000 mips 1282s ok 25 /thread/rec-mutex/perf/contended4/depth1 1282s # max perf: 5.000000 mips 1282s ok 26 /thread/rec-mutex/perf/contended4/depth2 1282s # max perf: 5.000000 mips 1282s ok 27 /thread/rec-mutex/perf/contended4/depth3 1282s # max perf: 5.000000 mips 1282s ok 28 /thread/rec-mutex/perf/contended4/depth4 1282s # max perf: 5.000000 mips 1282s ok 29 /thread/rec-mutex/perf/contended4/depth5 1282s # End of contended4 tests 1282s # End of perf tests 1282s # End of rec-mutex tests 1282s # End of thread tests 1282s ok - glib/rec-mutex.test 1282s # Running test: glib/portal-support-flatpak-gsettings-only.test 1282s TAP version 13 1282s # random seed: R02Se8cf35bc3f24464d993b66473f04f6a2 1282s 1..1 1282s # Start of portal-support tests 1282s # Start of flatpak tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/runtime 1282s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_PEQKK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1282s ok 1 /portal-support/flatpak/gsettings 1282s # End of flatpak tests 1282s # End of portal-support tests 1282s ok - glib/portal-support-flatpak-gsettings-only.test 1282s # Running test: glib/unix-mounts.test 1282s TAP version 13 1282s # random seed: R02S66adf9a5ff25149e73faeb614fad99c4 1282s 1..2 1282s # Start of unix-mounts tests 1282s ok 1 /unix-mounts/is-system-fs-type 1282s ok 2 /unix-mounts/is-system-device-path 1282s # End of unix-mounts tests 1282s ok - glib/unix-mounts.test 1282s # Running test: glib/onceinit.test 1282s TAP version 13 1282s # random seed: R02S130c7ab50041bd1eb9bce7aa7b3114cd 1282s 1..1 1282s # Start of thread tests 1282s ok 1 /thread/onceinit 1282s # End of thread tests 1282s ok - glib/onceinit.test 1282s # Running test: glib/contenttype.test 1282s TAP version 13 1282s # random seed: R02S3d855a29d4ff2c436088373032d68116 1282s 1..13 1282s # Start of contenttype tests 1282s ok 1 /contenttype/guess 1282s ok 2 /contenttype/guess_svg_from_data 1282s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1282s ok 4 /contenttype/unknown 1282s ok 5 /contenttype/subtype 1282s ok 6 /contenttype/list 1282s ok 7 /contenttype/executable 1282s ok 8 /contenttype/description 1282s ok 9 /contenttype/icon 1282s ok 10 /contenttype/symbolic-icon 1282s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1282s ok 11 /contenttype/tree 1282s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1282s ok 12 /contenttype/tree_invalid_encoding 1282s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1282s ok 13 /contenttype/test_type_is_a_special_case 1282s # End of contenttype tests 1282s ok - glib/contenttype.test 1282s # Running test: glib/object-info.test 1282s TAP version 13 1282s # random seed: R02Sf78d13c35a6de4f5acc7dc5bffa99cab 1282s 1..2 1282s # Start of object-info tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_DCQMK2/object-info/find-method-using-interfaces/.dirs/runtime 1282s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1282s ok 1 /object-info/find-method-using-interfaces 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_DCQMK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1282s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1282s ok 2 /object-info/find-vfunc-using-interfaces 1282s # End of object-info tests 1282s ok - glib/object-info.test 1282s # Running test: glib/tls-interaction.test 1282s TAP version 13 1282s # random seed: R02Sf6b1cc57d2af1cebea590afe1faf0419 1282s 1..42 1282s # Start of tls-interaction tests 1282s # Start of ask-password tests 1282s # Start of invoke-with-loop tests 1282s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1282s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1282s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1282s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1282s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1282s # End of invoke-with-loop tests 1282s # Start of invoke-without-loop tests 1282s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1282s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1282s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1282s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1282s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1282s # End of invoke-without-loop tests 1282s # Start of invoke-in-loop tests 1282s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1282s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1282s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1282s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1282s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1282s # End of invoke-in-loop tests 1282s # Start of sync tests 1282s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1282s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1282s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1282s # End of sync tests 1282s # Start of async tests 1282s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1282s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1282s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1282s # End of async tests 1282s # End of ask-password tests 1282s # Start of request-certificate tests 1282s # Start of invoke-with-loop tests 1282s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1282s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1282s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1282s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1282s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1282s # End of invoke-with-loop tests 1282s # Start of invoke-without-loop tests 1282s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1282s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1282s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1282s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1282s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1282s # End of invoke-without-loop tests 1282s # Start of invoke-in-loop tests 1282s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1282s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1282s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1282s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1282s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1282s # End of invoke-in-loop tests 1282s # Start of sync tests 1282s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1282s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1282s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1282s # End of sync tests 1282s # Start of async tests 1282s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1282s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1282s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1282s # End of async tests 1282s # End of request-certificate tests 1282s # End of tls-interaction tests 1282s ok - glib/tls-interaction.test 1282s # Running test: glib/slice.test 1282s TAP version 13 1282s # random seed: R02S58276b0793a5f75b87b4c1cf2c861170 1282s 1..3 1282s # Start of slice tests 1282s ok 1 /slice/copy 1282s ok 2 /slice/chain 1282s # Executing: glib/slice.test 1282s ok 3 /slice/allocate 1282s # End of slice tests 1282s ok - glib/slice.test 1282s # Running test: glib/uri.test 1282s TAP version 13 1282s # random seed: R02S7268528dd2a05ec9563b96819bb61962 1282s 1..24 1282s # Start of uri tests 1282s ok 1 /uri/file-to-uri 1282s ok 2 /uri/file-from-uri 1282s ok 3 /uri/file-roundtrip 1282s ok 4 /uri/list 1282s # Test 0: %2Babc %4F 1282s # Test 1: %2Babc %4F 1282s # Test 2: %00abc %4F 1282s # Test 3: /cursors/none.png 1282s # Test 4: /cursors%2fbad-subdir/none.png 1282s # Test 5: %0 1282s # Test 6: %ra 1282s # Test 7: %2r 1282s # Test 8: Timm B?der 1282s # Test 9: (null) 1282s ok 5 /uri/unescape-string 1282s ok 6 /uri/unescape-segment 1282s # Test 0: abcdefgABCDEFG._~ 1282s # Test 1: :+ \\?# 1282s # Test 2: a+b:c 1282s # Test 3: a+b:c\303\234 1282s # Test 4: \374;\322 1282s # Test 5: \303\261\303( 1282s ok 7 /uri/escape-string 1282s ok 8 /uri/escape-bytes 1282s ok 9 /uri/scheme 1282s ok 10 /uri/build 1282s ok 11 /uri/split 1282s ok 12 /uri/is_valid 1282s ok 13 /uri/to-string 1282s ok 14 /uri/join 1282s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1282s # Combination 0 1282s # Combination 1 1282s # Combination 2 1282s # Combination 3 1282s # Combination 4 1282s # Combination 5 1282s # Combination 6 1282s # Combination 7 1282s # Combination 8 1282s # Combination 9 1282s # Combination 10 1282s # Combination 11 1282s # Combination 12 1282s # Combination 13 1282s # Combination 14 1282s # Combination 15 1282s # Combination 16 1282s # Combination 17 1282s # Combination 18 1282s # Combination 19 1282s # Combination 20 1282s # Combination 21 1282s # Combination 22 1282s # Combination 23 1282s # Combination 24 1282s # Combination 25 1282s # Combination 26 1282s # Combination 27 1282s # Combination 28 1282s # Combination 29 1282s # Combination 30 1282s # Combination 31 1282s # Combination 32 1282s # Combination 33 1282s # Combination 34 1282s # Combination 35 1282s # Combination 36 1282s # Combination 37 1282s # Combination 38 1282s # Combination 39 1282s # Combination 40 1282s # Combination 41 1282s # Combination 42 1282s # Combination 43 1282s # Combination 44 1282s # Combination 45 1282s # Combination 46 1282s # Combination 47 1282s # Combination 48 1282s # Combination 49 1282s # Combination 50 1282s # Combination 51 1282s # Combination 52 1282s # Combination 53 1282s # Combination 54 1282s # Combination 55 1282s # Combination 56 1282s # Combination 57 1282s # Combination 58 1282s # Combination 59 1282s # Combination 60 1282s # Combination 61 1282s # Combination 62 1282s # Combination 63 1282s # Combination 64 1282s # Combination 65 1282s # Combination 66 1282s # Combination 67 1282s # Combination 68 1282s # Combination 69 1282s # Combination 70 1282s # Combination 71 1282s # Combination 72 1282s # Combination 73 1282s # Combination 74 1282s # Combination 75 1282s # Combination 76 1282s # Combination 77 1282s # Combination 78 1282s # Combination 79 1282s # Combination 80 1282s # Combination 81 1282s # Combination 82 1282s # Combination 83 1282s # Combination 84 1282s # Combination 85 1282s # Combination 86 1282s # Combination 87 1282s # Combination 88 1282s # Combination 89 1282s # Combination 90 1282s # Combination 91 1282s # Combination 92 1282s # Combination 93 1282s # Combination 94 1282s # Combination 95 1282s # Combination 96 1282s # Combination 97 1282s # Combination 98 1282s # Combination 99 1282s # Combination 100 1282s # Combination 101 1282s # Combination 102 1282s # Combination 103 1282s # Combination 104 1282s # Combination 105 1282s # Combination 106 1282s # Combination 107 1282s # Combination 108 1282s # Combination 109 1282s # Combination 110 1282s # Combination 111 1282s # Combination 112 1282s # Combination 113 1282s # Combination 114 1282s # Combination 115 1282s # Combination 116 1282s # Combination 117 1282s # Combination 118 1282s # Combination 119 1282s # Combination 120 1282s # Combination 121 1282s # Combination 122 1282s # Combination 123 1282s # Combination 124 1282s # Combination 125 1282s # Combination 126 1282s # Combination 127 1282s # Combination 128 1282s # Combination 129 1282s # Combination 130 1282s # Combination 131 1282s # Combination 132 1282s # Combination 133 1282s # Combination 134 1282s # Combination 135 1282s # Combination 136 1282s # Combination 137 1282s # Combination 138 1282s # Combination 139 1282s # Combination 140 1282s # Combination 141 1282s # Combination 142 1282s # Combination 143 1282s # Combination 144 1282s # Combination 145 1282s # Combination 146 1282s # Combination 147 1282s # Combination 148 1282s # Combination 149 1282s # Combination 150 1282s # Combination 151 1282s # Combination 152 1282s # Combination 153 1282s # Combination 154 1282s # Combination 155 1282s # Combination 156 1282s # Combination 157 1282s # Combination 158 1282s # Combination 159 1282s # Combination 160 1282s # Combination 161 1282s # Combination 162 1282s # Combination 163 1282s # Combination 164 1282s # Combination 165 1282s # Combination 166 1282s # Combination 167 1282s # Combination 168 1282s # Combination 169 1282s # Combination 170 1282s # Combination 171 1282s # Combination 172 1282s # Combination 173 1282s # Combination 174 1282s # Combination 175 1282s # Combination 176 1282s # Combination 177 1282s # Combination 178 1282s # Combination 179 1282s # Combination 180 1282s # Combination 181 1282s # Combination 182 1282s # Combination 183 1282s # Combination 184 1282s # Combination 185 1282s # Combination 186 1282s # Combination 187 1282s # Combination 188 1282s # Combination 189 1282s # Combination 190 1282s # Combination 191 1282s # Combination 192 1282s # Combination 193 1282s # Combination 194 1282s # Combination 195 1282s # Combination 196 1282s # Combination 197 1282s # Combination 198 1282s # Combination 199 1282s # Combination 200 1282s # Combination 201 1282s # Combination 202 1282s # Combination 203 1282s # Combination 204 1282s # Combination 205 1282s # Combination 206 1282s # Combination 207 1282s # Combination 208 1282s # Combination 209 1282s # Combination 210 1282s # Combination 211 1282s # Combination 212 1282s # Combination 213 1282s # Combination 214 1282s # Combination 215 1282s # Combination 216 1282s # Combination 217 1282s # Combination 218 1282s # Combination 219 1282s # Combination 220 1282s # Combination 221 1282s # Combination 222 1282s # Combination 223 1282s # Combination 224 1282s # Combination 225 1282s # Combination 226 1282s # Combination 227 1282s # Combination 228 1282s # Combination 229 1282s # Combination 230 1282s # Combination 231 1282s # Combination 232 1282s # Combination 233 1282s # Combination 234 1282s # Combination 235 1282s # Combination 236 1282s # Combination 237 1282s # Combination 238 1282s # Combination 239 1282s # Combination 240 1282s # Combination 241 1282s # Combination 242 1282s # Combination 243 1282s # Combination 244 1282s # Combination 245 1282s # Combination 246 1282s # Combination 247 1282s # Combination 248 1282s # Combination 249 1282s # Combination 250 1282s # Combination 251 1282s # Combination 252 1282s # Combination 253 1282s # Combination 254 1282s # Combination 255 1282s ok 15 /uri/join-split-round-trip 1282s ok 16 /uri/normalize 1282s # Start of unescape-bytes tests 1282s # Test 0: %00%00 1282s # Test 1: /cursors/none.png 1282s # Test 2: /cursors%2fbad-subdir/none.png 1282s # Test 3: %% 1282s # Test 4: % 1282s ok 17 /uri/unescape-bytes/nul-terminated 1282s # Test 0: %00%00 1282s # Test 1: /cursors/none.png 1282s # Test 2: /cursors%2fbad-subdir/none.png 1282s # Test 3: %% 1282s # Test 4: % 1282s ok 18 /uri/unescape-bytes/length 1282s # End of unescape-bytes tests 1282s # Start of parsing tests 1282s # Test 0: foo: 1282s # Test 1: file:/dev/null 1282s # Test 2: file:///dev/null 1282s # Test 3: ftp://user@host/path 1282s # Test 4: ftp://user@host:9999/path 1282s # Test 5: ftp://user:password@host/path 1282s # Test 6: ftp://user:password@host:9999/path 1282s # Test 7: ftp://user:password@host 1282s # Test 8: http://us%65r@host 1282s # Test 9: http://us%40r@host 1282s # Test 10: http://us%3ar@host 1282s # Test 11: http://us%2fr@host 1282s # Test 12: http://us%3fr@host 1282s # Test 13: http://host?query 1282s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1282s # 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 1282s # Test 16: http://space/%20 1282s # Test 17: http://delims/%3C%3E%23%25%22 1282s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1282s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1282s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1282s # Test 21: http://[3ffe:2a00:100:7031::1] 1282s # Test 22: http://[1080::8:800:200C:417A]/foo 1282s # Test 23: http://[::192.9.5.5]/ipng 1282s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1282s # Test 25: http://[2010:836B:4179::836B:4179] 1282s # Test 26: http://host/path with spaces 1282s # Test 27: http://host/path 1282s # Test 28: http://host/path 1282s # Test 29: http://host 1282s # Test 30: http://host:999 1282s # Test 31: http://host/pa 1282s # th 1282s # Test 32: http: 1282s # //host/path 1282s # Test 33: http:// host/path 1282s # Test 34: http://host/path? 1282s # Test 35: http://host/path# 1282s # Test 36: http://host/path% 1282s # Test 37: http://h%ost/path 1282s # Test 38: http://host/path%% 1282s # Test 39: http://host/path%%% 1282s # Test 40: http://host/path%/x/ 1282s # Test 41: http://host/path%0x/ 1282s # Test 42: http://host/path%ax 1282s # Test 43: http://host/p?th/ 1282s # Test 44: HTTP://////////////// 1282s # Test 45: http://@host 1282s # Test 46: http://:@host 1282s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1282s # Test 48: http://example.com/.. 1282s # Test 49: foo0://host/path 1282s # Test 50: f0.o://host/path 1282s # Test 51: http++://host/path 1282s # Test 52: http-ish://host/path 1282s # Test 53: http://[fe80::dead:beef%]/ 1282s # Test 54: http://[fe80::dead:beef%em1]/ 1282s # Test 55: http://[fe80::dead:beef%em1]/ 1282s # Test 56: http://[fe80::dead:beef%25em1]/ 1282s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1282s # Test 58: http://[fe80::dead:beef%25em%31]/ 1282s # Test 59: http://[fe80::dead:beef%10]/ 1282s # Test 60: http://[fe80::dead:beef%10]/ 1282s # Test 61: http://[fe80::dead:beef%25]/ 1282s # Test 62: http://[fe80::dead:beef%25]/ 1282s # Test 63: http://[192.168.0.1%25em1]/ 1282s # Test 64: http://[fe80::dead:beef%2em1]/ 1282s # Test 65: http://[fe80::dead:beef%2em1]/ 1282s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1282s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1282s # Test 68: http://xn--mixed-?p/ 1282s ok 19 /uri/parsing/absolute 1282s ok 20 /uri/parsing/relative 1282s # End of parsing tests 1282s # Start of iter-params tests 1282s # URI 0: p1=foo&p2=bar;p3=baz 1282s # URI 1: p1=foo&p2=bar 1282s # URI 2: p1=foo&&P1=bar 1282s # URI 3: %00=foo 1282s # URI 4: p1=%00 1282s # URI 5: p1=foo&p1=bar 1282s # URI 6: p1=foo&P1=bar 1282s # URI 7: =% 1282s # URI 8: = 1282s # URI 9: foo 1282s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1282s ok 21 /uri/iter-params/nul-terminated 1282s # URI 0: p1=foo&p2=bar;p3=baz 1282s # URI 1: p1=foo&p2=bar 1282s # URI 2: p1=foo&&P1=bar 1282s # URI 3: %00=foo 1282s # URI 4: p1=%00 1282s # URI 5: p1=foo&p1=bar 1282s # URI 6: p1=foo&P1=bar 1282s # URI 7: =% 1282s # URI 8: = 1282s # URI 9: foo 1282s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1282s ok 22 /uri/iter-params/length 1282s # End of iter-params tests 1282s # Start of parse-params tests 1282s # URI 0: p1=foo&p2=bar;p3=baz 1282s # URI 1: p1=foo&p2=bar 1282s # URI 2: p1=foo&&P1=bar 1282s # URI 3: %00=foo 1282s # URI 4: p1=%00 1282s # URI 5: p1=foo&p1=bar 1282s # URI 6: p1=foo&P1=bar 1282s # URI 7: =% 1282s # URI 8: = 1282s # URI 9: foo 1282s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1282s ok 23 /uri/parse-params/nul-terminated 1282s # URI 0: p1=foo&p2=bar;p3=baz 1282s # URI 1: p1=foo&p2=bar 1282s # URI 2: p1=foo&&P1=bar 1282s # URI 3: %00=foo 1282s # URI 4: p1=%00 1282s # URI 5: p1=foo&p1=bar 1282s # URI 6: p1=foo&P1=bar 1282s # URI 7: =% 1282s # URI 8: = 1282s # URI 9: foo 1282s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1282s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1282s ok 24 /uri/parse-params/length 1282s # End of parse-params tests 1282s # End of uri tests 1282s ok - glib/uri.test 1282s # Running test: glib/gdbus-proxy-well-known-name.test 1282s TAP version 13 1282s # random seed: R02S033c763d11ec7ea3305d795e4f73f45c 1282s 1..1 1282s # Start of gdbus tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_S88NK2/gdbus/proxy-well-known-name/.dirs/runtime 1282s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1282s ok 1 /gdbus/proxy-well-known-name 1282s # End of gdbus tests 1282s ok - glib/gdbus-proxy-well-known-name.test 1282s # Running test: glib/macros-c-99.test 1282s TAP version 13 1282s # random seed: R02Se858622003135086826584c6e8b230b2 1282s 1..4 1282s # Start of C tests 1282s ok 1 /C/standard-99 1282s # End of C tests 1282s # Start of alignof tests 1282s ok 2 /alignof/fallback 1282s # End of alignof tests 1282s # Start of assert tests 1282s ok 3 /assert/static 1282s # End of assert tests 1282s # Start of struct tests 1282s ok 4 /struct/sizeof_member 1282s # End of struct tests 1282s ok - glib/macros-c-99.test 1282s # Running test: glib/gdbus-proxy-threads.test 1282s TAP version 13 1282s # random seed: R02S6318711ba8bf4d00ae07f0834947935a 1282s 1..1 1282s # Start of gdbus tests 1282s # Start of proxy tests 1282s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/home 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/cache 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/system-config2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/config 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/system-data2 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/data 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/state 1282s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_BMXOK2/gdbus/proxy/vs-threads/.dirs/runtime 1282s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1286s ok 1 /gdbus/proxy/vs-threads 1286s # slow test /gdbus/proxy/vs-threads executed in 3.64 secs 1286s # End of proxy tests 1286s # End of gdbus tests 1286s cleaning up pid 11194 1286s ok - glib/gdbus-proxy-threads.test 1286s # Running test: glib/gdbus-sasl.test 1286s TAP version 13 1286s # random seed: R02S0af4665ce2984612bd3c91d6cfe17aec 1286s 1..1 1286s # Start of gdbus tests 1286s # Start of sasl tests 1286s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/home 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/cache 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/system-config2 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/config 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/system-data2 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/data 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/state 1286s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_HA6KK2/gdbus/sasl/server/.dirs/runtime 1286s # New handshake: EXTERNAL with incorrect initial response 1286s # C:“AUTH EXTERNAL 30” 1286s # Expect: /^REJECTED.*$/ 1286s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1286s # New handshake: EXTERNAL without initial response, failing to authenticate 1286s # C:“AUTH EXTERNAL” 1286s # Expect: /^DATA$/ 1286s # S:“DATA” 1286s # C:“DATA 30” 1286s # Expect: /^REJECTED.*$/ 1286s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1286s # New handshake: EXTERNAL with initial response 1286s # C:“AUTH EXTERNAL 31303030” 1286s # Expect: /^OK [0-9a-f]+$/ 1286s # S:“OK f47eb3d0c0fc0b5ceeaed39465f97dac” 1286s # New handshake: EXTERNAL without initial response 1286s # C:“AUTH EXTERNAL” 1286s # Expect: /^DATA$/ 1286s # S:“DATA” 1286s # C:“DATA 31303030” 1286s # Expect: /^OK [0-9a-f]+$/ 1286s # S:“OK f47eb3d0c0fc0b5ceeaed39465f97dac” 1286s # New handshake: EXTERNAL with empty authorization identity 1286s # C:“AUTH EXTERNAL” 1286s # Expect: /^DATA$/ 1286s # S:“DATA” 1286s # C:“DATA” 1286s # Expect: /^OK [0-9a-f]+$/ 1286s # S:“OK f47eb3d0c0fc0b5ceeaed39465f97dac” 1286s # New handshake: EXTERNAL with empty authorization identity and whitespace 1286s # C:“AUTH EXTERNAL” 1286s # Expect: /^DATA$/ 1286s # S:“DATA” 1286s # C:“DATA ” 1286s # Expect: /^OK [0-9a-f]+$/ 1286s # S:“OK f47eb3d0c0fc0b5ceeaed39465f97dac” 1286s ok 1 /gdbus/sasl/server 1286s # End of sasl tests 1286s # End of gdbus tests 1286s ok - glib/gdbus-sasl.test 1286s # Running test: glib/buffered-input-stream.test 1286s TAP version 13 1286s # random seed: R02S7d9102f1a45f625ee28aa1f3d15381a4 1286s 1..10 1286s # Start of buffered-input-stream tests 1286s ok 1 /buffered-input-stream/peek 1286s ok 2 /buffered-input-stream/peek-buffer 1286s ok 3 /buffered-input-stream/set-buffer-size 1286s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1286s ok 4 /buffered-input-stream/read-byte 1286s ok 5 /buffered-input-stream/read 1286s ok 6 /buffered-input-stream/read-async 1286s ok 7 /buffered-input-stream/skip 1286s ok 8 /buffered-input-stream/skip-async 1286s ok 9 /buffered-input-stream/seek 1286s # End of buffered-input-stream tests 1286s # Start of filter-input-stream tests 1286s ok 10 /filter-input-stream/close 1286s # End of filter-input-stream tests 1286s ok - glib/buffered-input-stream.test 1286s # Running test: glib/cond.test 1286s TAP version 13 1286s # random seed: R02S1ce4630d51f6454d3da8cd378047f38e 1286s 1..4 1286s # Start of thread tests 1286s ok 1 /thread/cond1 1286s ok 2 /thread/cond2 1286s # Start of cond tests 1287s ok 3 /thread/cond/wait-until 1287s # slow test /thread/cond/wait-until executed in 1.02 secs 1287s # Start of wait-until tests 1287s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1287s # Executing: glib/cond.test 1288s ok 4 /thread/cond/wait-until/contended-and-interrupted 1288s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1288s # End of wait-until tests 1288s # End of cond tests 1288s # End of thread tests 1288s ok - glib/cond.test 1288s # Running test: glib/properties-refcount3.test 1288s TAP version 13 1288s # random seed: R02Sd6875055290d8f6e5372fc547af4d18c 1288s 1..1 1288s # Start of gobject tests 1288s # Start of refcount tests 1292s # Executing: glib/properties-refcount3.test 1297s # Executing: glib/properties-refcount3.test 1302s # Executing: glib/properties-refcount3.test 1307s # Executing: glib/properties-refcount3.test 1312s # Executing: glib/properties-refcount3.test 1317s # Executing: glib/properties-refcount3.test 1318s # 1318s # stopping 1318s # 1318s # stopped 1318s # 1318s # 18791708 1366871 1318s # 1318s ok 1 /gobject/refcount/properties-3 1318s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1318s # End of refcount tests 1318s # End of gobject tests 1318s ok - glib/properties-refcount3.test 1318s # Running test: glib/utils-isolated.test 1318s TAP version 13 1318s # random seed: R02S6843b496ddf496eccad59c44767c83c2 1318s 1..9 1318s # Start of utils-isolated tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/tmp-dir/.dirs/runtime 1318s ok 1 /utils-isolated/tmp-dir 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/home-dir/.dirs/runtime 1318s ok 2 /utils-isolated/home-dir 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-cache-dir/.dirs/runtime 1318s ok 3 /utils-isolated/user-cache-dir 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-config-dirs/.dirs/runtime 1318s ok 4 /utils-isolated/system-config-dirs 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-config-dir/.dirs/runtime 1318s ok 5 /utils-isolated/user-config-dir 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/system-data-dirs/.dirs/runtime 1318s ok 6 /utils-isolated/system-data-dirs 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-data-dir/.dirs/runtime 1318s ok 7 /utils-isolated/user-data-dir 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-state-dir/.dirs/runtime 1318s ok 8 /utils-isolated/user-state-dir 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TLFMK2/utils-isolated/user-runtime-dir/.dirs/runtime 1318s ok 9 /utils-isolated/user-runtime-dir 1318s # End of utils-isolated tests 1318s ok - glib/utils-isolated.test 1318s # Running test: glib/testfilemonitor.test 1318s TAP version 13 1318s # random seed: R02S3bf345306fe36488079925f0b853d9a6 1318s 1..8 1318s # Start of monitor tests 1318s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1318s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1318s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1318s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s # Start of file tests 1318s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1318s # End of file tests 1318s # End of monitor tests 1318s ok - glib/testfilemonitor.test 1318s # Running test: glib/option-context.test 1318s TAP version 13 1318s # random seed: R02S9122279f5ba123c981b92fe8e17c9259 1318s 1..57 1318s # Start of option tests 1318s ok 1 /option/basic 1318s ok 2 /option/translate 1318s ok 3 /option/strict-posix 1318s # Start of help tests 1318s ok 4 /option/help/options 1318s ok 5 /option/help/no-options 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1318s ok 6 /option/help/no-help-options 1318s # End of help tests 1318s # Start of group tests 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1318s ok 7 /option/group/captions 1318s ok 8 /option/group/main 1318s ok 9 /option/group/error-hook 1318s ok 10 /option/group/parse 1318s # Start of captions tests 1318s # Start of subprocess tests 1318s # End of subprocess tests 1318s # End of captions tests 1318s # End of group tests 1318s # Start of restoration tests 1318s ok 11 /option/restoration/int 1318s ok 12 /option/restoration/string 1318s ok 13 /option/restoration/boolean 1318s # End of restoration tests 1318s # Start of arg tests 1318s ok 14 /option/arg/reverse-string 1318s ok 15 /option/arg/optional-int 1318s # Start of repetition tests 1318s ok 16 /option/arg/repetition/int 1318s ok 17 /option/arg/repetition/string 1318s ok 18 /option/arg/repetition/filename 1318s ok 19 /option/arg/repetition/double 1318s ok 20 /option/arg/repetition/locale 1318s ok 21 /option/arg/repetition/int64 1318s # End of repetition tests 1318s # Start of array tests 1318s ok 22 /option/arg/array/string 1318s # End of array tests 1318s # Start of callback tests 1318s ok 23 /option/arg/callback/string 1318s ok 24 /option/arg/callback/count 1318s ok 25 /option/arg/callback/optional1 1318s ok 26 /option/arg/callback/optional2 1318s ok 27 /option/arg/callback/optional3 1318s ok 28 /option/arg/callback/optional4 1318s ok 29 /option/arg/callback/optional5 1318s ok 30 /option/arg/callback/optional6 1318s ok 31 /option/arg/callback/optional7 1318s ok 32 /option/arg/callback/optional8 1318s # End of callback tests 1318s # Start of remaining tests 1318s ok 33 /option/arg/remaining/callback 1318s ok 34 /option/arg/remaining/callback-false 1318s ok 35 /option/arg/remaining/non-option 1318s ok 36 /option/arg/remaining/separator 1318s ok 37 /option/arg/remaining/array 1318s # End of remaining tests 1318s # Start of ignore tests 1318s ok 38 /option/arg/ignore/long 1318s ok 39 /option/arg/ignore/short 1318s ok 40 /option/arg/ignore/arg 1318s # End of ignore tests 1318s # Start of rest tests 1318s ok 41 /option/arg/rest/non-option 1318s ok 42 /option/arg/rest/separator1 1318s ok 43 /option/arg/rest/separator2 1318s ok 44 /option/arg/rest/separator3 1318s ok 45 /option/arg/rest/separator4 1318s ok 46 /option/arg/rest/separator5 1318s # End of rest tests 1318s # End of arg tests 1318s # Start of context tests 1318s ok 47 /option/context/add 1318s ok 48 /option/context/empty2 1318s ok 49 /option/context/empty3 1318s # End of context tests 1318s # Start of bug tests 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1318s ok 50 /option/bug/unknown-short 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1318s ok 51 /option/bug/lonely-dash 1318s ok 52 /option/bug/triple-dash 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1318s ok 53 /option/bug/missing-arg 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1318s ok 54 /option/bug/dash-arg 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1318s ok 55 /option/bug/short-remaining 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1318s ok 56 /option/bug/double-free 1318s ok 57 /option/bug/double-zero 1318s # End of bug tests 1318s # End of option tests 1318s ok - glib/option-context.test 1318s # Running test: glib/portal-support-env-var.test 1318s TAP version 13 1318s # random seed: R02S4b29e10ba1e2f7b90f352b919de7dfd7 1318s 1..1 1318s # Start of portal-support tests 1318s ok 1 /portal-support/env-var 1318s # End of portal-support tests 1318s ok - glib/portal-support-env-var.test 1318s # Running test: glib/gdbus-connection-loss.test 1318s TAP version 13 1318s # random seed: R02S36156e5d6f108ec5b351184fcd1fb7e4 1318s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1318s 1..1 1318s # Start of gdbus tests 1318s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/home 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/cache 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/system-config2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/config 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/system-data2 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/data 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/state 1318s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_SOQPK2/gdbus/connection-loss/.dirs/runtime 1318s ok 1 /gdbus/connection-loss 1318s # End of gdbus tests 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1318s ok - glib/gdbus-connection-loss.test 1318s # Running test: glib/utils-c-90.test 1318s TAP version 13 1318s # random seed: R02S367be4464a7375aaf236bc4ec572b5ed 1318s 1..40 1318s # Start of utils tests 1318s ok 1 /utils/language-names 1318s ok 2 /utils/locale-variants 1318s ok 3 /utils/version 1318s ok 4 /utils/appname 1318s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1318s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1318s ok 5 /utils/prgname-thread-safety 1318s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1318s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1318s ok 6 /utils/tmpdir 1318s ok 7 /utils/basic_bits 1318s ok 8 /utils/bits 1318s ok 9 /utils/swap 1318s ok 10 /utils/find-program 1318s ok 11 /utils/find-program-for-path 1318s ok 12 /utils/debug 1319s ok 13 /utils/codeset 1319s ok 14 /utils/codeset2 1319s ok 15 /utils/console-charset 1319s ok 16 /utils/gettext 1319s ok 17 /utils/username 1319s ok 18 /utils/realname 1319s ok 19 /utils/hostname 1319s ok 20 /utils/xdgdirs 1319s ok 21 /utils/specialdir 1319s # NAME: Ubuntu 1319s ok 22 /utils/os-info 1319s ok 23 /utils/clear-pointer 1319s ok 24 /utils/clear-pointer-cast 1319s ok 25 /utils/take-pointer 1319s ok 26 /utils/clear-source 1319s ok 27 /utils/misc-mem 1319s # /utils/aligned-mem summary: Aligned memory allocator 1319s # Alignment must not be zero 1319s # Alignment must be a power of two 1319s # Alignment must be a multiple of sizeof(void*) 1319s ok 28 /utils/aligned-mem 1319s # /utils/free-sized summary: Check that g_free_sized() works 1319s ok 29 /utils/free-sized 1319s ok 30 /utils/nullify 1319s ok 31 /utils/atexit 1319s ok 32 /utils/check-setuid 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1319s ok 33 /utils/int-limits 1319s ok 34 /utils/clear-list 1319s ok 35 /utils/clear-slist 1319s # Start of specialdir tests 1319s ok 36 /utils/specialdir/desktop 1319s # End of specialdir tests 1319s # Start of clear-pointer tests 1319s ok 37 /utils/clear-pointer/side-effects 1319s # End of clear-pointer tests 1319s # Start of aligned-mem tests 1319s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1319s ok 38 /utils/aligned-mem/alignment 1319s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1319s ok 39 /utils/aligned-mem/zeroed 1319s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1319s ok 40 /utils/aligned-mem/free-sized 1319s # Start of subprocess tests 1319s # End of subprocess tests 1319s # End of aligned-mem tests 1319s # End of utils tests 1319s ok - glib/utils-c-90.test 1319s # Running test: glib/power-profile-monitor-dbus.test 1319s TAP version 13 1319s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1319s 1..1 1319s ok - glib/power-profile-monitor-dbus.test 1319s # Running test: glib/unicode-normalize.test 1319s TAP version 13 1319s # random seed: R02Sbafe29cf031e2064ed3b5ddef7836827 1319s 1..3 1319s # Start of unicode tests 1319s # Processing Part0 # Specific cases 1319s # Processing Part1 # Character by character test 1319s # Processing Part2 # Canonical Order Test 1319s # Processing Part3 # PRI #29 Test 1319s ok 1 /unicode/normalize 1319s # Invalid UTF-8 vector 0 1319s # Invalid UTF-8 vector 1 1319s # Invalid UTF-8 vector 2 1319s # Invalid UTF-8 vector 3 1319s # Invalid UTF-8 vector 4 1319s # Invalid UTF-8 vector 5 1319s # Invalid UTF-8 vector 6 1319s # Invalid UTF-8 vector 7 1319s # Invalid UTF-8 vector 8 1319s # Invalid UTF-8 vector 9 1319s # Invalid UTF-8 vector 10 1319s # Invalid UTF-8 vector 11 1319s # Invalid UTF-8 vector 12 1319s ok 2 /unicode/normalize-invalid 1319s # Start of normalize tests 1319s ok 3 /unicode/normalize/bad-length 1319s # End of normalize tests 1319s # End of unicode tests 1319s ok - glib/unicode-normalize.test 1319s # Running test: glib/gnotification.test 1319s TAP version 13 1319s # random seed: R02S85a938239033d1bd3f49bbfba274758a 1319s 1..2 1319s # Start of gnotification tests 1319s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1319s ok 1 /gnotification/basic 1319s ok 2 /gnotification/properties 1319s # End of gnotification tests 1319s ok - glib/gnotification.test 1319s # Running test: glib/atomic-c-99.test 1319s TAP version 13 1319s # random seed: R02S17d8ff6e03edfe6867430cc50ea0414e 1319s 1..2 1319s # Start of atomic tests 1319s ok 1 /atomic/types 1319s ok 2 /atomic/threaded 1319s # End of atomic tests 1319s ok - glib/atomic-c-99.test 1319s # Running test: glib/socket-listener.test 1319s TAP version 13 1319s # random seed: R02S127d869ef00a5f040d8292d9cb8c08f8 1319s 1..1 1319s # Start of socket-listener tests 1319s ok 1 /socket-listener/event-signal 1319s # End of socket-listener tests 1319s ok - glib/socket-listener.test 1319s # Running test: glib/reference.test 1319s TAP version 13 1319s # random seed: R02Sf62e549e8252c4a656c563595015bb58 1319s 1..29 1319s # Start of type tests 1319s ok 1 /type/fundamentals 1319s ok 2 /type/qdata 1319s ok 3 /type/query 1319s ok 4 /type/class-private 1319s # End of type tests 1319s # Start of object tests 1319s ok 5 /object/clear 1319s ok 6 /object/clear-function 1319s ok 7 /object/set 1319s ok 8 /object/set-function 1319s ok 9 /object/value 1319s ok 10 /object/initially-unowned 1319s ok 11 /object/weak-pointer 1319s ok 12 /object/weak-ref 1319s ok 13 /object/toggle-ref 1319s ok 14 /object/qdata 1319s ok 15 /object/qdata2 1319s # Start of set tests 1319s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1319s ok 16 /object/set/derived-type 1319s # End of set tests 1319s # Start of weak-pointer tests 1319s ok 17 /object/weak-pointer/clear 1319s ok 18 /object/weak-pointer/clear-function 1319s ok 19 /object/weak-pointer/set 1319s ok 20 /object/weak-pointer/set-function 1319s # End of weak-pointer tests 1319s # Start of weak-ref tests 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1319s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1319s ok 21 /object/weak-ref/on-dispose 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1319s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1319s ok 22 /object/weak-ref/on-run-dispose 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1319s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1319s ok 23 /object/weak-ref/on-toggle-notify 1319s ok 24 /object/weak-ref/in-toggle-notify 1319s ok 25 /object/weak-ref/many 1319s # Start of concurrent tests 1322s ok 26 /object/weak-ref/concurrent/0 1322s # slow test /object/weak-ref/concurrent/0 executed in 2.89 secs 1322s # Executing: glib/reference.test 1325s ok 27 /object/weak-ref/concurrent/1 1325s # slow test /object/weak-ref/concurrent/1 executed in 2.90 secs 1325s # End of concurrent tests 1325s # End of weak-ref tests 1325s # Start of toggle-ref tests 1325s ok 28 /object/toggle-ref/ref-on-dispose 1325s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1325s # End of toggle-ref tests 1325s # End of object tests 1325s ok - glib/reference.test 1325s # Running test: glib/atomic-c-11.test 1325s TAP version 13 1325s # random seed: R02S6ce3ceb85a06f2344206b2ce607c0c71 1325s 1..2 1325s # Start of atomic tests 1325s ok 1 /atomic/types 1325s ok 2 /atomic/threaded 1325s # End of atomic tests 1325s ok - glib/atomic-c-11.test 1325s # Running test: glib/thumbnail-verification.test 1325s TAP version 13 1325s # random seed: R02S3a8fabc80aafac3bbdc9c7bbc63f5c90 1325s 1..1 1325s # Start of png-thumbs tests 1325s ok 1 /png-thumbs/validity 1325s # End of png-thumbs tests 1325s ok - glib/thumbnail-verification.test 1325s # Running test: glib/async-splice-output-stream.test 1325s TAP version 13 1325s # random seed: R02S672dbca952a8bc3c493f76b53fd5bdc5 1325s 1..5 1325s # Start of async-splice tests 1325s ok 1 /async-splice/copy-chunks 1325s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1325s ok 2 /async-splice/copy-chunks-threaded-input 1325s ok 3 /async-splice/copy-chunks-threaded-output 1325s ok 4 /async-splice/copy-chunks-threaded 1325s ok 5 /async-splice/cancelled 1325s # End of async-splice tests 1325s ok - glib/async-splice-output-stream.test 1325s # Running test: glib/stream-rw_all.test 1325s TAP version 13 1325s # random seed: R02Sdb952d8e22164c9ed4367b15e9f94214 1325s 1..3 1325s # Start of stream tests 1325s # Start of read_all_async tests 1325s ok 1 /stream/read_all_async/memory 1325s # End of read_all_async tests 1325s # Start of write_all_async tests 1325s ok 2 /stream/write_all_async/memory 1325s # End of write_all_async tests 1325s # Start of read_write_all_async tests 1325s ok 3 /stream/read_write_all_async/pipe 1325s # End of read_write_all_async tests 1325s # End of stream tests 1325s ok - glib/stream-rw_all.test 1325s # Running test: glib/spawn-singlethread.test 1325s TAP version 13 1325s # random seed: R02Sc23b72c687c0130ab5e2a64e9adee018 1325s 1..9 1325s # Start of gthread tests 1325s ok 1 /gthread/spawn-single-sync 1325s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1325s ok 2 /gthread/spawn-stderr-socket 1325s ok 3 /gthread/spawn-single-async 1325s # thread 1 1325s # thread 1 1325s ok 4 /gthread/spawn-single-async-with-fds 1325s ok 5 /gthread/spawn-async-with-invalid-fds 1325s ok 6 /gthread/spawn-script 1325s ok 7 /gthread/spawn-posix-spawn 1325s # Start of spawn tests 1325s ok 8 /gthread/spawn/nonexistent 1325s # FD map: 1325s # • 5 → 15 1325s # • 6 → 16 1325s # • 7 → 17 1325s # • 8 → 18 1325s # • 9 → 19 1325s # • 10 → 20 1325s # • 11 → 21 1325s # • 12 → 22 1325s # • 13 → 23 1325s # • 3 → 13 1325s ok 9 /gthread/spawn/fd-assignment-clash 1325s # End of spawn tests 1325s # End of gthread tests 1325s ok - glib/spawn-singlethread.test 1325s # Running test: glib/io-channel-basic.test 1325s TAP version 13 1325s # random seed: R02S17669256c5bb36f9af1a02b12026f11d 1325s 1..1 1325s # Start of gio tests 1325s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1325s # # random seed: R02Se9c62878cc138501ea341a2f50faba8a 1326s # # GLib-DEBUG: io-channel-basic: child writing 8+1171 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 1171 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1326s # # GLib-DEBUG: io-channel-basic: child writing 8+2179 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 2179 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1326s # # GLib-DEBUG: io-channel-basic: child writing 8+726 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 726 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1326s # # GLib-DEBUG: io-channel-basic: child writing 8+4841 bytes to 6 1326s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1326s # GLib-DEBUG: io-channel-basic: ...from 5: 4841 bytes 1326s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # # GLib-DEBUG: io-channel-basic: child writing 8+1313 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 1313 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # # GLib-DEBUG: io-channel-basic: child writing 8+4621 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 4621 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # # GLib-DEBUG: io-channel-basic: child writing 8+1651 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 1651 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1327s # Executing: glib/io-channel-basic.test 1327s # # GLib-DEBUG: io-channel-basic: child writing 8+4688 bytes to 6 1327s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1327s # GLib-DEBUG: io-channel-basic: ...from 5: 4688 bytes 1327s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # # GLib-DEBUG: io-channel-basic: child writing 8+3886 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 3886 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # # GLib-DEBUG: io-channel-basic: child writing 8+2676 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 2676 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # # GLib-DEBUG: io-channel-basic: child writing 8+2971 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 2971 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1328s # # GLib-DEBUG: io-channel-basic: child writing 8+4902 bytes to 6 1328s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1328s # GLib-DEBUG: io-channel-basic: ...from 5: 4902 bytes 1328s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1329s # # GLib-DEBUG: io-channel-basic: child writing 8+290 bytes to 6 1329s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 5: 290 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1329s # # GLib-DEBUG: io-channel-basic: child writing 8+4333 bytes to 6 1329s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 5: 4333 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1329s # # GLib-DEBUG: io-channel-basic: child writing 8+2781 bytes to 6 1329s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 5: 2781 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1329s # # GLib-DEBUG: io-channel-basic: child writing 8+1411 bytes to 6 1329s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1329s # GLib-DEBUG: io-channel-basic: ...from 5: 1411 bytes 1329s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1330s # # GLib-DEBUG: io-channel-basic: child writing 8+3067 bytes to 6 1330s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 5: 3067 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1330s # # GLib-DEBUG: io-channel-basic: child writing 8+251 bytes to 6 1330s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 5: 251 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1330s # # GLib-DEBUG: io-channel-basic: child writing 8+756 bytes to 6 1330s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1330s # GLib-DEBUG: io-channel-basic: ...from 5: 756 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1330s # # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 6 1330s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1330s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1330s # GLib-DEBUG: io-channel-basic: ...from 5: 1938 bytes 1330s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1330s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1330s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1330s # # random seed: R02S5e1988e1650e0042980117480b6be9c4 1330s # # random seed: R02S9f7cf5088c67cf59bdca83600cffb21b 1330s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1330s # # random seed: R02S4f27407185a0684c81f9bdc0b1c98422 1330s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1330s # # random seed: R02S72ee3544520c3168fa20e180aeabc47c 1330s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1330s # # random seed: R02Sc318a266041f4c028675878cac346dfb 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+3949 bytes to 13 1331s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 12: 3949 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+2607 bytes to 15 1331s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 14: 2607 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+2264 bytes to 9 1331s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 8: 2264 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+610 bytes to 11 1331s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 10: 610 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+4222 bytes to 17 1331s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 16: 4222 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+4296 bytes to 13 1331s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 12: 4296 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+4746 bytes to 17 1331s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 16: 4746 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+667 bytes to 11 1331s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 10: 667 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+1217 bytes to 9 1331s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 8: 1217 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+3725 bytes to 15 1331s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 14: 3725 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+3400 bytes to 13 1331s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 12: 3400 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+4332 bytes to 11 1331s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 10: 4332 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+2342 bytes to 15 1331s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 14: 2342 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+934 bytes to 17 1331s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 16: 934 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1331s # # GLib-DEBUG: io-channel-basic: child writing 8+2577 bytes to 9 1331s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1331s # GLib-DEBUG: io-channel-basic: ...from 8: 2577 bytes 1331s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2955 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 2955 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+4148 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 4148 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2856 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 2856 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+4230 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 4230 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2278 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 2278 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+4861 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 4861 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+1298 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 1298 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+4989 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 4989 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+153 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 153 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+1037 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 1037 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2081 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 2081 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+969 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 969 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+745 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 745 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+4745 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 4745 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+3640 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 3640 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1332s # Executing: glib/io-channel-basic.test 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2631 bytes to 13 1332s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 12: 2631 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+4507 bytes to 9 1332s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 8: 4507 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+1759 bytes to 15 1332s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 14: 1759 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2717 bytes to 11 1332s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 10: 2717 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1332s # # GLib-DEBUG: io-channel-basic: child writing 8+2879 bytes to 17 1332s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1332s # GLib-DEBUG: io-channel-basic: ...from 16: 2879 bytes 1332s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+1177 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 1177 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+2325 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 2325 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+891 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 891 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+968 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 968 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+1380 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 1380 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+185 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 185 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+855 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 855 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+400 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 400 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+2795 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 2795 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+3537 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 3537 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+2669 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 2669 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+372 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 372 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+3895 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 3895 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+1497 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 1497 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+1126 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 1126 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+2789 bytes to 9 1333s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 8: 2789 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+1968 bytes to 11 1333s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 10: 1968 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+4185 bytes to 13 1333s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 12: 4185 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+2682 bytes to 15 1333s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 14: 2682 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1333s # # GLib-DEBUG: io-channel-basic: child writing 8+436 bytes to 17 1333s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1333s # GLib-DEBUG: io-channel-basic: ...from 16: 436 bytes 1333s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+2046 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 2046 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+1477 bytes to 11 1334s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 10: 1477 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+3891 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 3891 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+4273 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 4273 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+1493 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 1493 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+1097 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 1097 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+4618 bytes to 11 1334s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 10: 4618 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+4722 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 4722 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+3213 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 3213 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+970 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 970 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+2925 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 2925 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+1328 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 1328 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+1796 bytes to 11 1334s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 10: 1796 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+596 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 596 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+1897 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 1897 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+2958 bytes to 9 1334s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 8: 2958 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 11 1334s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 10: 3606 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+2706 bytes to 13 1334s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 12: 2706 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+3937 bytes to 15 1334s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 14: 3937 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1334s # # GLib-DEBUG: io-channel-basic: child writing 8+3177 bytes to 17 1334s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1334s # GLib-DEBUG: io-channel-basic: ...from 16: 3177 bytes 1334s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+803 bytes to 9 1335s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 8: 803 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+4326 bytes to 15 1335s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 14: 4326 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+1809 bytes to 11 1335s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 10: 1809 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+4242 bytes to 13 1335s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 12: 4242 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+3533 bytes to 17 1335s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 16: 3533 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+2631 bytes to 15 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+2836 bytes to 9 1335s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 8: 2836 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1335s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 14: 2631 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+4479 bytes to 11 1335s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 10: 4479 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+1246 bytes to 13 1335s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 12: 1246 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+2542 bytes to 17 1335s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 16: 2542 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+1306 bytes to 15 1335s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 14: 1306 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+1576 bytes to 9 1335s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 8: 1576 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+1456 bytes to 11 1335s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 10: 1456 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+3669 bytes to 13 1335s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 12: 3669 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+4104 bytes to 17 1335s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 16: 4104 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+3767 bytes to 13 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+429 bytes to 15 1335s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 14: 429 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+409 bytes to 9 1335s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 8: 409 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1335s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 12: 3767 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1335s # # GLib-DEBUG: io-channel-basic: child writing 8+1182 bytes to 11 1335s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1335s # GLib-DEBUG: io-channel-basic: ...from 10: 1182 bytes 1335s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+2829 bytes to 17 1336s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 16: 2829 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+1073 bytes to 9 1336s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 8: 1073 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+4380 bytes to 15 1336s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 14: 4380 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+384 bytes to 13 1336s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 12: 384 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+4106 bytes to 11 1336s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1336s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 10: 4106 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1336s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+3323 bytes to 17 1336s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 16: 3323 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+2420 bytes to 15 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+4134 bytes to 9 1336s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1336s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1336s # GLib-DEBUG: io-channel-basic: ...from 8: 4134 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1336s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1336s # GLib-DEBUG: io-channel-basic: ...from 14: 2420 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+2652 bytes to 13 1336s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1336s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 12: 2652 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1336s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+1092 bytes to 17 1336s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1336s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 16: 1092 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1336s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 1336s # # GLib-DEBUG: io-channel-basic: child writing 8+1702 bytes to 9 1336s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1336s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1336s # GLib-DEBUG: io-channel-basic: ...from 8: 1702 bytes 1336s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1336s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 1336s ok 1 /gio/io-basics 1336s # slow test /gio/io-basics executed in 10.97 secs 1336s # End of gio tests 1336s ok - glib/io-channel-basic.test 1336s # Running test: glib/strvbuilder.test 1336s TAP version 13 1336s # random seed: R02Scd7ac23c22050a872932372835a094ba 1336s 1..6 1336s # Start of strvbuilder tests 1336s ok 1 /strvbuilder/empty 1336s ok 2 /strvbuilder/add 1336s ok 3 /strvbuilder/addv 1336s ok 4 /strvbuilder/add_many 1336s ok 5 /strvbuilder/take 1336s ok 6 /strvbuilder/ref 1336s # End of strvbuilder tests 1336s ok - glib/strvbuilder.test 1336s # Running test: glib/memory-output-stream.test 1336s TAP version 13 1336s # random seed: R02S7dd914cff75acacde0adaf8de6826fdf 1336s 1..10 1336s # Start of memory-output-stream tests 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1336s ok 1 /memory-output-stream/truncate 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1336s ok 2 /memory-output-stream/get-data-size 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1336s ok 3 /memory-output-stream/properties 1336s ok 4 /memory-output-stream/write-bytes 1336s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1336s ok 5 /memory-output-stream/write-null 1336s ok 6 /memory-output-stream/writev 1336s ok 7 /memory-output-stream/writev_nonblocking 1336s ok 8 /memory-output-stream/steal_as_bytes 1336s # Start of seek tests 1336s ok 9 /memory-output-stream/seek/fixed 1336s ok 10 /memory-output-stream/seek/resizable 1336s # End of seek tests 1336s # End of memory-output-stream tests 1336s ok - glib/memory-output-stream.test 1336s # Running test: glib/signals-refcount3.test 1336s TAP version 13 1336s # random seed: R02S8aee959b97c4f34fd1be41e9cdc7fea9 1336s 1..1 1336s # Start of gobject tests 1336s # Start of refcount tests 1336s # init 0x1c5e32e8f420 1336s # 1336s # init 0x1c5e32e8f5c0 1336s # 1337s # Executing: glib/signals-refcount3.test 1341s # dispose 0x1c5e32e8f420! 1341s # 1341s # dispose 0x1c5e32e8f5c0! 1341s # 1341s ok 1 /gobject/refcount/signals 1341s # slow test /gobject/refcount/signals executed in 5.00 secs 1341s # End of refcount tests 1341s # End of gobject tests 1341s ok - glib/signals-refcount3.test 1341s # Running test: glib/bytes.test 1341s TAP version 13 1341s # random seed: R02S43c8ccb0983d30e1a9590812a5f88c67 1341s 1..21 1341s # Start of bytes tests 1341s ok 1 /bytes/new 1341s ok 2 /bytes/new-take 1341s ok 3 /bytes/new-static 1341s ok 4 /bytes/new-with-free-func 1341s ok 5 /bytes/new-from-bytes 1341s ok 6 /bytes/new-from-bytes-slice 1341s ok 7 /bytes/new-from-bytes-shared-ref 1341s ok 8 /bytes/hash 1341s ok 9 /bytes/equal 1341s ok 10 /bytes/compare 1341s ok 11 /bytes/null 1341s ok 12 /bytes/get-region 1341s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1341s ok 13 /bytes/unref-null 1341s # Start of to-data tests 1341s ok 14 /bytes/to-data/transferred 1341s ok 15 /bytes/to-data/two-refs 1341s ok 16 /bytes/to-data/non-malloc 1341s ok 17 /bytes/to-data/different-free-func 1341s # End of to-data tests 1341s # Start of to-array tests 1341s ok 18 /bytes/to-array/transferred 1341s ok 19 /bytes/to-array/two-refs 1341s ok 20 /bytes/to-array/non-malloc 1341s # Start of transferred tests 1341s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1341s ok 21 /bytes/to-array/transferred/oversize 1341s # End of transferred tests 1341s # End of to-array tests 1341s # End of bytes tests 1341s ok - glib/bytes.test 1341s # Running test: glib/credentials.test 1341s TAP version 13 1341s # random seed: R02S6f517a867b1253fba5e1ff787d20bfc6 1341s 1..1 1341s # Start of credentials tests 1341s # GCredentials:linux-ucred:pid=11386,uid=1000,gid=1000 1341s # GCredentials:linux-ucred:pid=11386,uid=0,gid=1000 1341s ok 1 /credentials/basic 1341s # End of credentials tests 1341s ok - glib/credentials.test 1341s # Running test: glib/convert.test 1341s TAP version 13 1341s # random seed: R02S03650b2996ea5f7dbc24e5663cf75a5a 1341s 1..14 1341s # Start of conversion tests 1341s ok 1 /conversion/no-conv 1341s ok 2 /conversion/iconv-state 1341s ok 3 /conversion/illegal-sequence 1341s ok 4 /conversion/byte-order 1341s ok 5 /conversion/unicode 1341s ok 6 /conversion/filename-utf8 1341s ok 7 /conversion/filename-display 1341s ok 8 /conversion/convert-embedded-nul 1341s # Start of locale-to-utf8 tests 1341s ok 9 /conversion/locale-to-utf8/embedded-nul 1341s # Start of embedded-nul tests 1341s # Start of subprocess tests 1341s # End of subprocess tests 1341s # End of embedded-nul tests 1341s # End of locale-to-utf8 tests 1341s # Start of locale-from-utf8 tests 1341s ok 10 /conversion/locale-from-utf8/embedded-nul 1341s # Start of embedded-nul tests 1341s # Start of subprocess tests 1341s # End of subprocess tests 1341s # End of embedded-nul tests 1341s # End of locale-from-utf8 tests 1341s # Start of filename-to-utf8 tests 1341s ok 11 /conversion/filename-to-utf8/embedded-nul 1341s # Start of embedded-nul tests 1341s # Start of subprocess tests 1341s # End of subprocess tests 1341s # End of embedded-nul tests 1341s # End of filename-to-utf8 tests 1341s # Start of filename-from-utf8 tests 1341s ok 12 /conversion/filename-from-utf8/embedded-nul 1341s # Start of embedded-nul tests 1341s # Start of subprocess tests 1341s # End of subprocess tests 1341s # End of embedded-nul tests 1341s # End of filename-from-utf8 tests 1341s # Start of filename-from-uri tests 1341s ok 13 /conversion/filename-from-uri/query-is-ignored 1341s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1341s # End of filename-from-uri tests 1341s # End of conversion tests 1341s ok - glib/convert.test 1341s # Running test: glib/actions.test 1341s TAP version 13 1341s # random seed: R02Sf6e15bf876e1b20c85088ebb3905959a 1341s 1..12 1341s # Start of actions tests 1341s ok 1 /actions/basic 1341s ok 2 /actions/name 1341s ok 3 /actions/simplegroup 1341s ok 4 /actions/stateful 1341s ok 5 /actions/default-activate 1341s ok 6 /actions/entries 1341s ok 7 /actions/parse-detailed 1341s ok 8 /actions/property 1341s ok 9 /actions/no-properties 1341s # Start of dbus tests 1341s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s ok 10 /actions/dbus/export 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1341s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1341s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1342s # Executing: glib/actions.test 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 11 /actions/dbus/threaded 1344s # slow test /actions/dbus/threaded executed in 2.26 secs 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1344s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1344s ok 12 /actions/dbus/bug679509 1344s # End of dbus tests 1344s # End of actions tests 1344s ok - glib/actions.test 1344s # Running test: glib/appmonitor.test 1344s TAP version 13 1344s # random seed: R02S1c7685d2fd4abd32841e36a695370839 1344s 1..1 1344s # Start of monitor tests 1344s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/home 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/cache 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/system-config2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/config 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/system-data2 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/data 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/state 1344s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/runtime 1344s # Using data directory: /tmp/test_appmonitor_VFYYK2/monitor/app/.dirs/data 1344s ok 1 /monitor/app 1344s # End of monitor tests 1344s ok - glib/appmonitor.test 1344s # Running test: glib/type-flags.test 1344s TAP version 13 1344s # random seed: R02S0a0608bcc4e4356b76e11bc956c7320c 1344s 1..4 1344s # Start of type tests 1344s # Start of flags tests 1344s ok 1 /type/flags/interface 1344s ok 2 /type/flags/final 1344s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1344s ok 3 /type/flags/deprecated 1344s # Start of final tests 1344s ok 4 /type/flags/final/instance-check 1344s # End of final tests 1344s # End of flags tests 1344s # End of type tests 1344s ok - glib/type-flags.test 1344s # Running test: glib/g-file.test 1344s TAP version 13 1344s # random seed: R02Sd7c99cff0d1e61f3f5178c1d55be9bea 1344s 1..8 1344s # Start of g-file tests 1344s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1344s ok 1 /g-file/test_g_file_new_null 1344s ok 2 /g-file/test_g_file_new_for_path 1344s ok 3 /g-file/test_g_file_new_for_uri 1344s ok 4 /g-file/test_g_file_dup 1344s ok 5 /g-file/test_g_file_get_parse_name_utf8 1344s file:///tmp/test-tmp-glib_g-file.test-OESYK2 1344s file:///tmp 1344s file:///tmp 1344s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1344s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1344s ok 6 /g-file/test_g_file_new_for_commandline_arg 1344s /dir1 /dir1/dir2/dir3/ 1344s /dir1/ /dir1/dir2/dir3/ 1344s /dir1 /dir1/dir2/dir3 1344s /dir1/ /dir1/dir2/dir3 1344s /tmp/ /something/ 1344s /dir1/dir2 /dir1/ 1344s //dir1/new //dir1/new/dir2/dir3 1344s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1344s file:///dir1 file:///dir1/dir2/dir3/ 1344s file:///dir1/ file:///dir1/dir2/dir3/ 1344s file:///dir1 file:///dir1/dir2/dir3 1344s file:///dir1/ file:///dir1/dir2/dir3 1344s file:///tmp/ file:///something/ 1344s file:///dir1/dir2 file:///dir1/ 1344s file:////dir1/new file:////dir1/new/dir2/dir3 1344s 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 1344s ok 7 /g-file/test_g_file_has_prefix 1344s ok 8 /g-file/test_g_file_get_parent_child 1344s # End of g-file tests 1344s ok - glib/g-file.test 1344s # Running test: glib/io-stream.test 1344s TAP version 13 1344s # random seed: R02S15eda5e91a1653b3a4aba16087bc8554 1344s 1..3 1344s # Start of io-stream tests 1344s ok 1 /io-stream/copy-chunks 1344s # Start of close tests 1344s # Start of async tests 1344s ok 2 /io-stream/close/async/memory 1344s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1344s ok 3 /io-stream/close/async/file 1344s # End of async tests 1344s # End of close tests 1344s # End of io-stream tests 1344s ok - glib/io-stream.test 1344s # Running test: glib/win32-appinfo.test 1344s TAP version 13 1344s # random seed: R02S592c4cab581dd956e0eb08a0739f7d71 1344s 1..5 1344s # Start of appinfo tests 1344s ok 1 /appinfo/utf16-strfuncs 1344s ok 2 /appinfo/win32-extract-executable 1344s ok 3 /appinfo/win32-rundll32-fixup 1344s ok 4 /appinfo/win32-parse-filename 1344s ok 5 /appinfo/win32-utf16-conversion-fail 1344s # Start of subprocess tests 1344s # End of subprocess tests 1344s # End of appinfo tests 1344s ok - glib/win32-appinfo.test 1344s # Running test: glib/data-output-stream.test 1344s TAP version 13 1344s # random seed: R02S3d765c96c53958d82649e95a3c8eab98 1344s 1..7 1344s # Start of data-output-stream tests 1344s ok 1 /data-output-stream/basic 1344s ok 2 /data-output-stream/write-lines-LF 1344s ok 3 /data-output-stream/write-lines-CR 1344s ok 4 /data-output-stream/write-lines-CR-LF 1344s ok 5 /data-output-stream/write-int 1344s ok 6 /data-output-stream/seek 1344s ok 7 /data-output-stream/truncate 1344s # End of data-output-stream tests 1344s ok - glib/data-output-stream.test 1344s # Running test: glib/rwlock.test 1344s TAP version 13 1344s # random seed: R02S6f29fd99ea89777b6f60a36ad9fa24c5 1344s 1..8 1344s # Start of thread tests 1344s ok 1 /thread/rwlock1 1344s ok 2 /thread/rwlock2 1344s ok 3 /thread/rwlock3 1344s ok 4 /thread/rwlock4 1344s ok 5 /thread/rwlock5 1344s ok 6 /thread/rwlock6 1348s # Executing: glib/rwlock.test 1352s # Executing: glib/rwlock.test 1353s ok 7 /thread/rwlock7 1353s # slow test /thread/rwlock7 executed in 9.29 secs 1353s ok 8 /thread/rwlock8 1353s # End of thread tests 1353s ok - glib/rwlock.test 1353s # Running test: glib/gdbus-error.test 1353s TAP version 13 1353s # random seed: R02S21074f366b09302005000b6456bc8195 1353s 1..4 1353s # Start of gdbus tests 1353s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/home 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/cache 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/system-config2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/config 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/system-data2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/data 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/state 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_29CJK2/gdbus/registered-errors/.dirs/runtime 1353s ok 1 /gdbus/registered-errors 1353s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/home 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/cache 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/system-config2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/config 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/system-data2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/data 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/state 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_29CJK2/gdbus/unregistered-errors/.dirs/runtime 1353s ok 2 /gdbus/unregistered-errors 1353s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/home 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/cache 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/system-config2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/config 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/system-data2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/data 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/state 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_29CJK2/gdbus/transparent-gerror/.dirs/runtime 1353s ok 3 /gdbus/transparent-gerror 1353s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/home 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/cache 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/system-config2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/config 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/system-data2 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/data 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/state 1353s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_29CJK2/gdbus/register-error/.dirs/runtime 1353s ok 4 /gdbus/register-error 1353s # End of gdbus tests 1353s ok - glib/gdbus-error.test 1353s # Running test: glib/macros.test 1353s TAP version 13 1353s # random seed: R02S4bb30347ecf3fb0e30c109bc7c768d84 1353s 1..3 1353s # Start of alignof tests 1353s ok 1 /alignof/fallback 1353s # End of alignof tests 1353s # Start of assert tests 1353s ok 2 /assert/static 1353s # End of assert tests 1353s # Start of struct tests 1353s ok 3 /struct/sizeof_member 1353s # End of struct tests 1353s ok - glib/macros.test 1353s # Running test: glib/search-utils.test 1353s TAP version 13 1353s # random seed: R02S0cc029791bf3e35f4743325ffd9c4c65 1353s # GLib-DEBUG: Current user locale: C.UTF-8 1353s 1..6 1353s # Start of search tests 1353s # GLib-DEBUG: Started 1353s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1353s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1353s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1353s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1353s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1353s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1353s ok 1 /search/basic 1353s # GLib-DEBUG: Started 1353s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1353s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1353s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1353s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1353s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1353s ok 2 /search/composed 1353s # GLib-DEBUG: Started 1353s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1353s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1353s ok 3 /search/decomposed 1353s # GLib-DEBUG: Started 1353s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1353s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1353s ok 4 /search/turkish 1353s # GLib-DEBUG: Started 1353s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1353s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1353s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1353s ok 5 /search/c_locale_unicode 1353s # GLib-DEBUG: Started 1353s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1353s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1353s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1353s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1353s ok 6 /search/multi_words 1353s # End of search tests 1353s ok - glib/search-utils.test 1353s # Running test: glib/static-link.test 1353s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1353s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1353s and make sure you have glib build dependencies installed, including 1353s meson. 1353s ok # SKIP - glib/static-link.test 1353s # Running test: glib/cxx-03.test 1353s TAP version 13 1353s # random seed: R02S0df23a09f6694bf26312ea040c0b3690 1353s 1..2 1353s # Start of gtask tests 1353s # 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. 1353s ok 1 /gtask/name 1353s # Start of name tests 1353s # 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. 1353s ok 2 /gtask/name/macro-wrapper 1353s # End of name tests 1353s # End of gtask tests 1353s ok - glib/cxx-03.test 1353s # Running test: glib/string.test 1353s TAP version 13 1353s # random seed: R02S9f39dbee8d62b0263775528d77e1f303 1353s 1..23 1353s # Start of string tests 1353s ok 1 /string/test-string-chunks 1353s ok 2 /string/test-string-chunk-insert 1353s ok 3 /string/test-string-new 1353s ok 4 /string/test-string-printf 1353s ok 5 /string/test-string-assign 1353s ok 6 /string/test-string-append-c 1353s ok 7 /string/test-string-append 1353s ok 8 /string/test-string-append-vprintf 1353s ok 9 /string/test-string-prepend-c 1353s ok 10 /string/test-string-prepend 1353s ok 11 /string/test-string-insert 1353s ok 12 /string/test-string-insert-unichar 1353s ok 13 /string/test-string-equal 1353s ok 14 /string/test-string-truncate 1353s ok 15 /string/test-string-overwrite 1353s ok 16 /string/test-string-nul-handling 1353s ok 17 /string/test-string-up-down 1353s ok 18 /string/test-string-set-size 1353s ok 19 /string/test-string-to-bytes 1353s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1353s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1353s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1353s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1353s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1353s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1353s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1353s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1353s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1353s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1353s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1353s # -> 4 replacements, "fd fr fals" 1353s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1353s # -> 3 replacements, "aaaaaaaaa" 1353s # 7: Replacing "a" with "" (limit 0) in "aaa" 1353s # -> 3 replacements, "" 1353s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1353s # -> 1 replacements, "bba" 1353s # 9: Replacing "" with "bar" (limit 0) in "foo" 1353s # -> 4 replacements, "barfbarobarobar" 1353s # 10: Replacing "" with "x" (limit 0) in "" 1353s # -> 1 replacements, "x" 1353s # 11: Replacing "" with "" (limit 0) in "" 1353s # -> 1 replacements, "" 1353s ok 20 /string/test-string-replace 1353s ok 21 /string/test-string-steal 1353s ok 22 /string/test-string-new-take 1353s # Start of test-string-new-take tests 1353s ok 23 /string/test-string-new-take/null 1353s # End of test-string-new-take tests 1353s # End of string tests 1353s ok - glib/string.test 1353s # Running test: glib/defaultiface.test 1353s TAP version 13 1353s # random seed: R02S169da2bae7ed535afa2d2b8aab795fe2 1353s 1..2 1353s # Start of gobject tests 1353s ok 1 /gobject/static-iface 1353s ok 2 /gobject/dynamic-iface 1353s # End of gobject tests 1353s ok - glib/defaultiface.test 1353s # Running test: glib/enums.test 1353s TAP version 13 1353s # random seed: R02Sbddcf26ed38a19de4fb5aa82090ec214 1353s 1..4 1353s # Start of enum tests 1353s ok 1 /enum/basic 1353s ok 2 /enum/define-type 1353s # End of enum tests 1353s # Start of flags tests 1353s ok 3 /flags/basic 1353s ok 4 /flags/define-type 1353s # End of flags tests 1353s ok - glib/enums.test 1353s # Running test: glib/portal-support-none.test 1353s TAP version 13 1353s # random seed: R02Scbd370638a199611e555523b06e3ebbe 1353s 1..1 1353s # Start of portal-support tests 1353s ok 1 /portal-support/none 1353s # End of portal-support tests 1353s ok - glib/portal-support-none.test 1353s # Running test: glib/1bit-mutex.test 1353s TAP version 13 1353s # random seed: R02S744eed1781d1b6c5cf015fc7ffb28d6e 1353s 1..2 1353s # Start of glib tests 1353s # Start of 1bit-mutex tests 1357s # Executing: glib/1bit-mutex.test 1362s # Executing: glib/1bit-mutex.test 1363s ok 1 /glib/1bit-mutex/int 1363s # slow test /glib/1bit-mutex/int executed in 9.75 secs 1367s # Executing: glib/1bit-mutex.test 1372s # Executing: glib/1bit-mutex.test 1373s ok 2 /glib/1bit-mutex/pointer 1373s # slow test /glib/1bit-mutex/pointer executed in 9.51 secs 1373s # End of 1bit-mutex tests 1373s # End of glib tests 1373s ok - glib/1bit-mutex.test 1373s # Running test: glib/flags.test 1373s TAP version 13 1373s # random seed: R02S09b824025ce7d8c6c0f69e40402f7f58 1373s 1..1 1373s # Start of gobject tests 1373s # Start of flags tests 1373s ok 1 /gobject/flags/validate 1373s # End of flags tests 1373s # End of gobject tests 1373s ok - glib/flags.test 1373s # Running test: glib/binding.test 1373s TAP version 13 1373s # random seed: R02S6bda8578cb508f1ee68233851573de45 1373s 1..19 1373s # Start of binding tests 1373s ok 1 /binding/default 1373s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1373s ok 2 /binding/canonicalisation 1373s ok 3 /binding/bidirectional 1373s ok 4 /binding/transform 1373s ok 5 /binding/transform-default 1373s ok 6 /binding/transform-closure 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1373s ok 7 /binding/chain 1373s ok 8 /binding/sync-create 1373s ok 9 /binding/invert-boolean 1373s ok 10 /binding/same-object 1373s ok 11 /binding/unbind 1373s ok 12 /binding/unbind-weak 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1373s ok 13 /binding/unbind-multiple 1373s ok 14 /binding/fail 1373s ok 15 /binding/interface 1373s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1373s ok 16 /binding/concurrent-unbind 1373s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1373s ok 17 /binding/concurrent-finalizing 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1373s ok 18 /binding/dispose-source 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1373s ok 19 /binding/dispose-target 1373s # End of binding tests 1373s ok - glib/binding.test 1373s # Running test: glib/gdatetime.test 1373s TAP version 13 1373s # random seed: R02S6d60deb285e86f2797ea47387ce2068c 1373s 1..68 1373s # Start of GDateTime tests 1373s # Bug Reference: http://bugzilla.gnome.org/702674 1373s ok 1 /GDateTime/invalid 1373s ok 2 /GDateTime/add_days 1373s ok 3 /GDateTime/add_full 1373s ok 4 /GDateTime/add_hours 1373s ok 5 /GDateTime/add_minutes 1373s ok 6 /GDateTime/add_months 1373s ok 7 /GDateTime/add_seconds 1373s ok 8 /GDateTime/add_weeks 1373s ok 9 /GDateTime/add_years 1373s ok 10 /GDateTime/compare 1373s ok 11 /GDateTime/diff 1373s ok 12 /GDateTime/equal 1373s ok 13 /GDateTime/get_day_of_week 1373s ok 14 /GDateTime/get_day_of_month 1373s ok 15 /GDateTime/get_day_of_year 1373s ok 16 /GDateTime/get_hour 1373s ok 17 /GDateTime/get_microsecond 1373s ok 18 /GDateTime/get_minute 1373s ok 19 /GDateTime/get_month 1373s ok 20 /GDateTime/get_second 1373s ok 21 /GDateTime/get_utc_offset 1373s ok 22 /GDateTime/get_year 1373s ok 23 /GDateTime/hash 1373s ok 24 /GDateTime/new_from_unix 1373s ok 25 /GDateTime/new_from_unix_utc 1373s ok 26 /GDateTime/new_from_timeval 1373s ok 27 /GDateTime/new_from_timeval_utc 1373s ok 28 /GDateTime/new_from_iso8601 1373s ok 29 /GDateTime/new_full 1373s ok 30 /GDateTime/now 1373s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1373s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1373s ok 32 /GDateTime/printf 1373s ok 33 /GDateTime/non_utf8_printf 1373s ok 34 /GDateTime/format_unrepresentable 1373s ok 35 /GDateTime/format_iso8601 1373s ok 36 /GDateTime/strftime 1373s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1373s # Bug Reference: http://bugzilla.gnome.org/749206 1373s ok 38 /GDateTime/month_names 1373s ok 39 /GDateTime/to_local 1373s ok 40 /GDateTime/to_unix 1373s ok 41 /GDateTime/to_timeval 1373s ok 42 /GDateTime/to_utc 1373s ok 43 /GDateTime/now_utc 1373s ok 44 /GDateTime/dst 1373s # Bug Reference: http://bugzilla.gnome.org/642935 1373s ok 45 /GDateTime/test_z 1374s ok 46 /GDateTime/test-all-dates 1374s # slow test /GDateTime/test-all-dates executed in 1.54 secs 1374s ok 47 /GDateTime/unix_usec 1374s # Start of new_from_unix tests 1374s # Bug Reference: http://bugzilla.gnome.org/782089 1374s ok 48 /GDateTime/new_from_unix/overflow 1374s # End of new_from_unix tests 1374s # Start of new_from_timeval tests 1374s # Bug Reference: http://bugzilla.gnome.org/782089 1374s # Maximum supported GTimeVal.tv_sec = 253402300799 1374s ok 49 /GDateTime/new_from_timeval/overflow 1374s # End of new_from_timeval tests 1374s # Start of new_from_iso8601 tests 1374s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1374s # Vector 0: 1990-11-01T10:21:17Z 1374s # Vector 1: 19901101T102117Z 1374s # Vector 2: 1970-01-01T00:00:17.12Z 1374s # Vector 3: 1970-01-01T00:00:17.1234Z 1374s # Vector 4: 1970-01-01T00:00:17.123456Z 1374s # Vector 5: 1980-02-22T12:36:00+02:00 1374s # Vector 6: 1990-12-31T15:59:60-08:00 1374s # Vector 7: 1374s # Vector 8: x 1374s # Vector 9: 123x 1374s # Vector 10: 2001-10+x 1374s # Vector 11: 1980-02-22T 1374s # Vector 12: 2001-10-08Tx 1374s # Vector 13: 2001-10-08T10:11x 1374s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1374s # Vector 15: 1980-02-22T10:36:00Zulu 1374s # Vector 16: 2T0+819855292164632335 1374s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1374s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1374s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1374s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1374s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1374s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1374s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1374s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1374s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1374s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1374s # Vector 27: 20180803T140805.446178377+0100 1374s # Vector 28: 21474836480803T140805.446178377+0100 1374s # Vector 29: 20181303T140805.446178377+0100 1374s # Vector 30: 20180003T140805.446178377+0100 1374s # Vector 31: 20180800T140805.446178377+0100 1374s # Vector 32: 20180832T140805.446178377+0100 1374s # Vector 33: 20180803T240805.446178377+0100 1374s # Vector 34: 20180803T146005.446178377+0100 1374s # Vector 35: 20180803T140863.446178377+0100 1374s # Vector 36: 20180803T140805.446178377+10000 1374s # Vector 37: -0005-01-01T00:00:00Z 1374s # Vector 38: 2018-08-06 1374s # Vector 39: 20180803T140805,446178377+0100 1374s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1374s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1374s # Vector 42: 1990-11-01T10:21:17 1374s # Vector 43: 1719W462 407777-07 1374s # Vector 44: 4011090 260528Z 1374s # Vector 45: 0000W011 228214-22 1374s ok 50 /GDateTime/new_from_iso8601/2 1374s # End of new_from_iso8601 tests 1374s # Start of format_mixed tests 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1374s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1374s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1374s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1374s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1374s # End of format_mixed tests 1374s # Start of strftime tests 1374s ok 55 /GDateTime/strftime/error_handling 1374s # End of strftime tests 1374s # Start of eras tests 1374s ok 56 /GDateTime/eras/japan 1374s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1374s # Vector 0: 1374s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1374s # 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年 1374s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1374s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1374s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1374s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1374s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1374s # Vector 8: + 1374s # Vector 9: +: 1374s # Vector 10: +:: 1374s # Vector 11: +:200 1374s # Vector 12: +:2nonsense 1374s # Vector 13: +:2nonsense: 1374s # Vector 14: +:2: 1374s # Vector 15: +:2:: 1374s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1374s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1374s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1374s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1374s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1374s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1374s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1374s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1374s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1374s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1374s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1374s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1374s # Vector 28: +:2:2020/01/01 1374s # Vector 29: +:2:2020/01/01: 1374s # Vector 30: +:2:2020/01/01:: 1374s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1374s # Vector 32: +:2:2020/01/01:+* 1374s # Vector 33: +:2:2020/01/01:+*: 1374s # Vector 34: +:2:2020/01/01:+*:: 1374s # Vector 35: +:2:2020/01/01:+*:令和 1374s # Vector 36: +:2:2020/01/01:+*:令和: 1374s # Vector 37: +:2:2020/01/01:+*:令和:; 1374s ok 58 /GDateTime/eras/parsing 1374s # End of eras tests 1374s # End of GDateTime tests 1374s # Start of GTimeZone tests 1374s ok 59 /GTimeZone/find-interval 1374s ok 60 /GTimeZone/adjust-time 1374s ok 61 /GTimeZone/no-header 1374s ok 62 /GTimeZone/no-header-identifier 1374s ok 63 /GTimeZone/posix-parse 1374s # Bug Reference: http://bugzilla.gnome.org/697715 1374s ok 64 /GTimeZone/floating-point 1374s # System time zone identifier: Etc/UTC 1374s ok 65 /GTimeZone/identifier 1374s # Vector 0: -158400 1374s # Vector 1: -10000 1374s # Vector 2: -3600 1374s # Vector 3: -61 1374s # Vector 4: -60 1374s # Vector 5: -59 1374s # Vector 6: 0 1374s # Vector 7: 59 1374s # Vector 8: 60 1374s # Vector 9: 61 1374s # Vector 10: 3600 1374s # Vector 11: 10000 1374s # Vector 12: 158400 1374s ok 66 /GTimeZone/new-offset 1374s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1374s ok 67 /GTimeZone/parse-rfc8536 1374s # /GTimeZone/caching summary: GTimeZone instances are cached 1374s ok 68 /GTimeZone/caching 1374s # End of GTimeZone tests 1374s ok - glib/gdatetime.test 1374s # Running test: glib/markup-collect.test 1374s TAP version 13 1374s # random seed: R02S5af099659fa4e3425ce9524076d7e855 1374s 1..21 1374s # Start of markup tests 1374s # Start of collect tests 1374s ok 1 /markup/collect/0 1374s ok 2 /markup/collect/1 1374s ok 3 /markup/collect/2 1374s ok 4 /markup/collect/3 1374s ok 5 /markup/collect/4 1374s ok 6 /markup/collect/5 1374s ok 7 /markup/collect/6 1374s ok 8 /markup/collect/7 1374s ok 9 /markup/collect/8 1374s ok 10 /markup/collect/9 1374s ok 11 /markup/collect/10 1374s ok 12 /markup/collect/11 1374s ok 13 /markup/collect/12 1374s ok 14 /markup/collect/13 1374s ok 15 /markup/collect/14 1374s ok 16 /markup/collect/15 1374s ok 17 /markup/collect/16 1374s ok 18 /markup/collect/17 1374s ok 19 /markup/collect/18 1374s ok 20 /markup/collect/19 1374s ok 21 /markup/collect/cleanup 1374s # End of collect tests 1374s # End of markup tests 1374s ok - glib/markup-collect.test 1374s # Running test: glib/gdbus-addresses.test 1374s TAP version 13 1374s # random seed: R02S72662088ff3757300a6b813cffd0e057 1374s 1..9 1374s # Start of gdbus tests 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/empty-address/.dirs/runtime 1374s ok 1 /gdbus/empty-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unsupported-address/.dirs/runtime 1374s ok 2 /gdbus/unsupported-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/address-parsing/.dirs/runtime 1374s ok 3 /gdbus/address-parsing 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/unix-address/.dirs/runtime 1374s ok 4 /gdbus/unix-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/nonce-tcp-address/.dirs/runtime 1374s ok 5 /gdbus/nonce-tcp-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/tcp-address/.dirs/runtime 1374s ok 6 /gdbus/tcp-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/autolaunch-address/.dirs/runtime 1374s ok 7 /gdbus/autolaunch-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/mixed-address/.dirs/runtime 1374s ok 8 /gdbus/mixed-address 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_9ADPK2/gdbus/escape-address/.dirs/runtime 1374s ok 9 /gdbus/escape-address 1374s # End of gdbus tests 1374s ok - glib/gdbus-addresses.test 1374s # Running test: glib/logging.test 1374s TAP version 13 1374s # random seed: R02Sf46ee8ae96541ae108413036e054e6ce 1374s 1..17 1374s # Start of logging tests 1375s ok 1 /logging/default-handler 1375s ok 2 /logging/warnings 1375s ok 3 /logging/fatal-log-mask 1375s # bu-DEBUG: message 1375s # ba-DEBUG: message 1375s # ba-INFO: message 1375s ok 4 /logging/set-handler 1375s ok 5 /logging/print-handler 1375s ok 6 /logging/printerr-handler 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1375s # The Log Message Handler 1375s # 1375s # The Good Fail Message Handler 1375s # 1375s ok 7 /logging/653052 1375s ok 8 /logging/gibberish 1375s # Start of default-handler tests 1375s # Start of subprocess tests 1375s # End of subprocess tests 1375s # End of default-handler tests 1375s # End of logging tests 1375s # Start of structured-logging tests 1375s ok 9 /structured-logging/no-state 1375s ok 10 /structured-logging/some-state 1375s ok 11 /structured-logging/robustness 1375s ok 12 /structured-logging/roundtrip1 1375s ok 13 /structured-logging/roundtrip2 1375s ok 14 /structured-logging/roundtrip3 1375s ok 15 /structured-logging/variant1 1375s ok 16 /structured-logging/variant2 1375s ok 17 /structured-logging/set-writer-func-twice 1375s # End of structured-logging tests 1375s ok - glib/logging.test 1375s # Running test: glib/module-test-plugin.test 1375s TAP version 13 1375s # random seed: R02S959b97dc428ff987b13d38604ba4bc1a 1375s 1..2 1375s # Start of module tests 1375s ok 1 /module/basics 1375s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1375s ok 2 /module/invalid-libtool-archive 1375s # End of module tests 1375s ok - glib/module-test-plugin.test 1375s # Running test: glib/cxx-11.test 1375s TAP version 13 1375s # random seed: R02S999744674247c28724be799605243dae 1375s 1..2 1375s # Start of gtask tests 1375s # 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. 1375s ok 1 /gtask/name 1375s # Start of name tests 1375s # 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. 1375s ok 2 /gtask/name/macro-wrapper 1375s # End of name tests 1375s # End of gtask tests 1375s ok - glib/cxx-11.test 1375s # Running test: glib/repository-search-paths.test 1375s TAP version 13 1375s # random seed: R02Se8e1fdce9042c4e93a8e2ebb6cdba681 1375s 1..4 1375s # Start of repository tests 1375s # Start of search-paths tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/default/.dirs/runtime 1375s ok 1 /repository/search-paths/default 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FK5TK2/repository/search-paths/prepend/.dirs/runtime 1375s ok 2 /repository/search-paths/prepend 1375s # End of search-paths tests 1375s # Start of library-paths tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/default/.dirs/runtime 1375s ok 3 /repository/library-paths/default 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FK5TK2/repository/library-paths/prepend/.dirs/runtime 1375s ok 4 /repository/library-paths/prepend 1375s # End of library-paths tests 1375s # End of repository tests 1375s ok - glib/repository-search-paths.test 1375s # Running test: glib/fdo-notification-backend.test 1375s TAP version 13 1375s # random seed: R02S0d42b73202b70b368c215382e83e32d4 1375s 1..2 1375s # Start of fdo-notification-backend tests 1375s # Test constructing a GFdoNotificationBackend 1375s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s ok 1 /fdo-notification-backend/construction 1375s # Start of dbus tests 1375s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1375s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s ok 2 /fdo-notification-backend/dbus/activate-action 1375s # End of dbus tests 1375s # End of fdo-notification-backend tests 1375s ok - glib/fdo-notification-backend.test 1375s # Running test: glib/asyncqueue.test 1375s TAP version 13 1375s # random seed: R02S177480b8422cb343c6ccbe776e41478d 1375s 1..7 1375s # Start of asyncqueue tests 1375s ok 1 /asyncqueue/basics 1375s ok 2 /asyncqueue/sort 1375s ok 3 /asyncqueue/destroy 1375s ok 4 /asyncqueue/threads 1375s ok 5 /asyncqueue/timed 1375s ok 6 /asyncqueue/remove 1375s ok 7 /asyncqueue/push_front 1375s # End of asyncqueue tests 1375s ok - glib/asyncqueue.test 1375s # Running test: glib/utf8-performance.test 1375s TAP version 13 1375s # random seed: R02S325f4e651f36dbc8037359e179201dca 1375s 1..36 1375s # Start of utf8 tests 1375s # Start of perf tests 1375s # Start of get_char tests 1375s # max perf: inf MB/s 1375s ok 1 /utf8/perf/get_char/ascii 1375s # max perf: 67.0 MB/s 1375s ok 2 /utf8/perf/get_char/latin1 1375s # max perf: 160.0 MB/s 1375s ok 3 /utf8/perf/get_char/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 4 /utf8/perf/get_char/han 1375s # End of get_char tests 1375s # Start of get_char-backwards tests 1375s # max perf: inf MB/s 1375s ok 5 /utf8/perf/get_char-backwards/ascii 1375s # max perf: 67.0 MB/s 1375s ok 6 /utf8/perf/get_char-backwards/latin1 1375s # max perf: 160.0 MB/s 1375s ok 7 /utf8/perf/get_char-backwards/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 8 /utf8/perf/get_char-backwards/han 1375s # End of get_char-backwards tests 1375s # Start of get_char_validated tests 1375s # max perf: 43.0 MB/s 1375s ok 9 /utf8/perf/get_char_validated/ascii 1375s # max perf: inf MB/s 1375s ok 10 /utf8/perf/get_char_validated/latin1 1375s # max perf: 160.0 MB/s 1375s ok 11 /utf8/perf/get_char_validated/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 12 /utf8/perf/get_char_validated/han 1375s # End of get_char_validated tests 1375s # Start of utf8_to_ucs4 tests 1375s # max perf: 21.5 MB/s 1375s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1375s # max perf: 67.0 MB/s 1375s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1375s # max perf: 160.0 MB/s 1375s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 16 /utf8/perf/utf8_to_ucs4/han 1375s # End of utf8_to_ucs4 tests 1375s # Start of utf8_to_ucs4-sized tests 1375s # max perf: inf MB/s 1375s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1375s # max perf: 67.0 MB/s 1375s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1375s # max perf: 160.0 MB/s 1375s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1375s # End of utf8_to_ucs4-sized tests 1375s # Start of utf8_to_ucs4_fast tests 1375s # max perf: 43.0 MB/s 1375s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1375s # max perf: 67.0 MB/s 1375s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1375s # max perf: inf MB/s 1375s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1375s # End of utf8_to_ucs4_fast tests 1375s # Start of utf8_to_ucs4_fast-sized tests 1375s # max perf: inf MB/s 1375s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1375s # max perf: 67.0 MB/s 1375s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1375s # max perf: inf MB/s 1375s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1375s # End of utf8_to_ucs4_fast-sized tests 1375s # Start of utf8_validate tests 1375s # max perf: inf MB/s 1375s ok 29 /utf8/perf/utf8_validate/ascii 1375s # max perf: inf MB/s 1375s ok 30 /utf8/perf/utf8_validate/latin1 1375s # max perf: inf MB/s 1375s ok 31 /utf8/perf/utf8_validate/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 32 /utf8/perf/utf8_validate/han 1375s # End of utf8_validate tests 1375s # Start of utf8_validate-sized tests 1375s # max perf: inf MB/s 1375s ok 33 /utf8/perf/utf8_validate-sized/ascii 1375s # max perf: inf MB/s 1375s ok 34 /utf8/perf/utf8_validate-sized/latin1 1375s # max perf: 160.0 MB/s 1375s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1375s # max perf: 156.0 MB/s 1375s ok 36 /utf8/perf/utf8_validate-sized/han 1375s # End of utf8_validate-sized tests 1375s # End of perf tests 1375s # End of utf8 tests 1375s ok - glib/utf8-performance.test 1375s # Running test: glib/bitlock.test 1375s TAP version 13 1375s # random seed: R02Sdc8b9f378edf27e8a8fe7c0fce03d784 1375s 1..1 1375s # Start of bitlock tests 1375s # Start of performance tests 1375s # max perf: iterations per second 1375s ok 1 /bitlock/performance/uncontended 1375s # End of performance tests 1375s # End of bitlock tests 1375s ok - glib/bitlock.test 1375s # Running test: glib/environment.test 1375s TAP version 13 1375s # random seed: R02S07cbd7a3a58d1dc8d4dbfa5a79ea47c5 1375s 1..6 1375s # Start of environ tests 1375s # /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. 1375s ok 1 /environ/listenv 1375s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1375s ok 2 /environ/getenv 1375s ok 3 /environ/setenv 1375s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1375s ok 4 /environ/array 1375s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1375s ok 5 /environ/null 1375s # /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. 1375s ok 6 /environ/case 1375s # End of environ tests 1375s ok - glib/environment.test 1375s # Running test: glib/async-close-output-stream.test 1375s TAP version 13 1375s # random seed: R02Sa5b96b040c8a0dc7377c0463bb5acca7 1375s 1..3 1375s # Start of close-async tests 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1375s ok 1 /close-async/without-flush 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1375s ok 2 /close-async/with-flush 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1375s ok 3 /close-async/with-async-flush 1375s # End of close-async tests 1375s ok - glib/async-close-output-stream.test 1375s # Running test: glib/date.test 1375s TAP version 13 1375s # random seed: R02S5ffde072a26f241668bfa8a9d875a772 1375s 1..121 1375s # Start of date tests 1375s ok 1 /date/basic 1375s ok 2 /date/empty 1375s ok 3 /date/dmy 1375s ok 4 /date/julian 1375s ok 5 /date/compare 1375s ok 6 /date/dates 1375s ok 7 /date/strftime 1375s ok 8 /date/two-digit-years 1375s ok 9 /date/parse 1375s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1375s ok 11 /date/month_substring 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1375s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1375s ok 13 /date/clamp 1375s ok 14 /date/order 1375s ok 15 /date/copy 1375s # Vector 0: 0000-00-00, invalid 1375s # Vector 1: 0001-01-01, valid 1375s # Vector 2: 0000-01-01, invalid 1375s # Vector 3: 2000-02-30, invalid 1375s # Vector 4: 2000-02-29, valid 1375s # Vector 5: 2001-02-29, invalid 1375s # Vector 6: 65535-01-01, valid 1375s ok 16 /date/valid-dmy 1375s # Start of parse tests 1375s # Test 0 1375s # Test 1 1375s ok 17 /date/parse/invalid 1375s # End of parse tests 1375s # Start of year tests 1375s ok 18 /date/year/1 1375s ok 19 /date/year/2 1375s ok 20 /date/year/3 1375s ok 21 /date/year/4 1375s ok 22 /date/year/5 1375s ok 23 /date/year/6 1375s ok 24 /date/year/7 1375s ok 25 /date/year/8 1375s ok 26 /date/year/9 1375s ok 27 /date/year/10 1375s ok 28 /date/year/11 1375s ok 29 /date/year/12 1375s ok 30 /date/year/13 1375s ok 31 /date/year/14 1375s ok 32 /date/year/98 1375s ok 33 /date/year/99 1375s ok 34 /date/year/100 1375s ok 35 /date/year/101 1375s ok 36 /date/year/102 1375s ok 37 /date/year/103 1375s ok 38 /date/year/397 1375s ok 39 /date/year/398 1375s ok 40 /date/year/399 1375s ok 41 /date/year/400 1375s ok 42 /date/year/401 1375s ok 43 /date/year/402 1375s ok 44 /date/year/403 1375s ok 45 /date/year/404 1375s ok 46 /date/year/405 1375s ok 47 /date/year/406 1375s ok 48 /date/year/1598 1375s ok 49 /date/year/1599 1375s ok 50 /date/year/1600 1375s ok 51 /date/year/1601 1375s ok 52 /date/year/1602 1375s ok 53 /date/year/1650 1375s ok 54 /date/year/1651 1375s ok 55 /date/year/1897 1375s ok 56 /date/year/1898 1375s ok 57 /date/year/1899 1375s ok 58 /date/year/1900 1375s ok 59 /date/year/1901 1375s ok 60 /date/year/1902 1375s ok 61 /date/year/1903 1375s ok 62 /date/year/1961 1375s ok 63 /date/year/1962 1375s ok 64 /date/year/1963 1375s ok 65 /date/year/1964 1375s ok 66 /date/year/1965 1375s ok 67 /date/year/1967 1375s ok 68 /date/year/1968 1375s ok 69 /date/year/1969 1375s ok 70 /date/year/1970 1375s ok 71 /date/year/1971 1375s ok 72 /date/year/1972 1375s ok 73 /date/year/1973 1375s ok 74 /date/year/1974 1375s ok 75 /date/year/1975 1375s ok 76 /date/year/1976 1375s ok 77 /date/year/1977 1375s ok 78 /date/year/1978 1375s ok 79 /date/year/1979 1375s ok 80 /date/year/1980 1375s ok 81 /date/year/1981 1375s ok 82 /date/year/1982 1375s ok 83 /date/year/1983 1375s ok 84 /date/year/1984 1375s ok 85 /date/year/1985 1375s ok 86 /date/year/1986 1375s ok 87 /date/year/1987 1375s ok 88 /date/year/1988 1375s ok 89 /date/year/1989 1375s ok 90 /date/year/1990 1375s ok 91 /date/year/1991 1375s ok 92 /date/year/1992 1375s ok 93 /date/year/1993 1375s ok 94 /date/year/1994 1375s ok 95 /date/year/1995 1375s ok 96 /date/year/1996 1375s ok 97 /date/year/1997 1375s ok 98 /date/year/1998 1375s ok 99 /date/year/1999 1375s ok 100 /date/year/2000 1375s ok 101 /date/year/2001 1375s ok 102 /date/year/2002 1375s ok 103 /date/year/2003 1375s ok 104 /date/year/2004 1375s ok 105 /date/year/2005 1375s ok 106 /date/year/2006 1375s ok 107 /date/year/2007 1375s ok 108 /date/year/2008 1375s ok 109 /date/year/2009 1375s ok 110 /date/year/2010 1375s ok 111 /date/year/2011 1375s ok 112 /date/year/2012 1375s ok 113 /date/year/3000 1375s ok 114 /date/year/3001 1375s ok 115 /date/year/3002 1375s ok 116 /date/year/3998 1375s ok 117 /date/year/3999 1375s ok 118 /date/year/4000 1375s ok 119 /date/year/4001 1376s ok 120 /date/year/4002 1376s ok 121 /date/year/4003 1376s # End of year tests 1376s # End of date tests 1376s ok - glib/date.test 1376s # Running test: glib/cxx-20.test 1376s TAP version 13 1376s # random seed: R02Sc71fa833848df312274f87fe471f039f 1376s 1..2 1376s # Start of gtask tests 1376s # 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. 1376s ok 1 /gtask/name 1376s # Start of name tests 1376s # 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. 1376s ok 2 /gtask/name/macro-wrapper 1376s # End of name tests 1376s # End of gtask tests 1376s ok - glib/cxx-20.test 1376s # Running test: glib/unicode-encoding.test 1376s TAP version 13 1376s # random seed: R02Sec9b8e7ad8f7e960832a73ce0cfa0792 1376s 1..1 1376s # Start of unicode tests 1376s ok 1 /unicode/encoding 1376s # End of unicode tests 1376s ok - glib/unicode-encoding.test 1376s # Running test: glib/application-command-line.test 1376s TAP version 13 1376s # random seed: R02Sc0bae125cebcf09262914e53305821eb 1376s 1..1 1376s # Start of application-command-line tests 1376s ok 1 /application-command-line/basic-properties 1376s # End of application-command-line tests 1376s ok - glib/application-command-line.test 1376s # Running test: glib/base64.test 1376s TAP version 13 1376s # random seed: R02S8d7c5d00bb3092c048f8ba1483652e8a 1376s 1..28 1376s # Start of base64 tests 1376s ok 1 /base64/encode 1376s ok 2 /base64/decode 1376s ok 3 /base64/decode-inplace 1376s ok 4 /base64/encode-decode 1376s # Start of full tests 1376s ok 5 /base64/full/1 1376s ok 6 /base64/full/2 1376s ok 7 /base64/full/3 1376s ok 8 /base64/full/4 1376s # End of full tests 1376s # Start of encode tests 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1376s ok 9 /base64/encode/empty 1376s # Start of incremental tests 1376s # Start of small-block tests 1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1376s ok 10 /base64/encode/incremental/small-block/1 1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1376s ok 11 /base64/encode/incremental/small-block/2 1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1376s ok 12 /base64/encode/incremental/small-block/3 1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1376s ok 13 /base64/encode/incremental/small-block/4 1376s # End of small-block tests 1376s # End of incremental tests 1376s # End of encode tests 1376s # Start of incremental tests 1376s # Start of nobreak tests 1376s ok 14 /base64/incremental/nobreak/1 1376s ok 15 /base64/incremental/nobreak/2 1376s ok 16 /base64/incremental/nobreak/3 1376s ok 17 /base64/incremental/nobreak/4-a 1376s ok 18 /base64/incremental/nobreak/4-b 1376s ok 19 /base64/incremental/nobreak/4-c 1376s # End of nobreak tests 1376s # Start of break tests 1376s ok 20 /base64/incremental/break/1 1376s ok 21 /base64/incremental/break/2 1376s ok 22 /base64/incremental/break/3 1376s # End of break tests 1376s # Start of smallblock tests 1376s ok 23 /base64/incremental/smallblock/1 1376s ok 24 /base64/incremental/smallblock/2 1376s ok 25 /base64/incremental/smallblock/3 1376s ok 26 /base64/incremental/smallblock/4 1376s # End of smallblock tests 1376s # End of incremental tests 1376s # Start of decode tests 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1376s ok 27 /base64/decode/empty 1376s # End of decode tests 1376s # Start of encode-decode tests 1376s # Vector 0: 1376s # Vector 1: f 1376s # Vector 2: fo 1376s # Vector 3: foo 1376s # Vector 4: foob 1376s # Vector 5: fooba 1376s # Vector 6: foobar 1376s ok 28 /base64/encode-decode/rfc4648 1376s # End of encode-decode tests 1376s # End of base64 tests 1376s ok - glib/base64.test 1376s # Running test: glib/notify-init2.test 1376s TAP version 13 1376s # random seed: R02Sb1e5ef0216a5138412b1663e1909d55c 1376s 1..1 1376s # Start of properties tests 1376s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1376s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1376s ok 1 /properties/notify-in-init2 1376s # End of properties tests 1376s ok - glib/notify-init2.test 1376s # Running test: glib/timeout.test 1376s TAP version 13 1376s # random seed: R02S1d9fd2846eaba3c1d69697b8c87696ad 1376s 1..5 1376s # Start of timeout tests 1376s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1377s # Executing: glib/timeout.test 1378s ok 1 /timeout/seconds 1378s # slow test /timeout/seconds executed in 2.10 secs 1380s ok 2 /timeout/seconds-once 1380s # slow test /timeout/seconds-once executed in 2.10 secs 1380s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1382s ok 3 /timeout/weeks-overflow 1382s # slow test /timeout/weeks-overflow executed in 2.11 secs 1382s ok 4 /timeout/far-future-ready-time 1382s # Executing: glib/timeout.test 1387s # Executing: glib/timeout.test 1392s # Executing: glib/timeout.test 1392s ok 5 /timeout/rounding 1392s # slow test /timeout/rounding executed in 10.53 secs 1392s # End of timeout tests 1392s ok - glib/timeout.test 1392s # Running test: glib/once.test 1392s TAP version 13 1392s # random seed: R02Sdf7388e34a04be6ff31b39b3a3911703 1392s 1..5 1392s # Start of once tests 1392s # /once/single-threaded summary: Test g_once() usage from a single thread 1392s ok 1 /once/single-threaded 1392s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1392s ok 2 /once/multi-threaded 1392s # End of once tests 1392s # Start of once-init tests 1392s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1392s ok 3 /once-init/single-threaded 1392s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1392s ok 4 /once-init/multi-threaded 1392s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1392s ok 5 /once-init/string 1392s # End of once-init tests 1392s ok - glib/once.test 1392s # Running test: glib/throws.test 1392s TAP version 13 1392s # random seed: R02S37741e1c1e6d62476da4b9169b907265 1392s 1..3 1392s # Start of throws tests 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ZNAPK2/throws/invoke-gerror/.dirs/runtime 1392s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1392s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1392s ok 1 /throws/invoke-gerror 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ZNAPK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1392s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1392s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1392s ok 2 /throws/vfunc-can-throw-gerror 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ZNAPK2/throws/callback-can-throw-gerror/.dirs/runtime 1392s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1392s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1392s ok 3 /throws/callback-can-throw-gerror 1392s # End of throws tests 1392s ok - glib/throws.test 1392s # Running test: glib/dbus-appinfo.test 1392s TAP version 13 1392s # random seed: R02Sb8d7f434808ca00db99f048d504f8c3f 1392s 1..3 1392s # Start of appinfo tests 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1392s ok 1 /appinfo/dbusappinfo 1392s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1392s dbus-daemon[12683]: [session uid=1000 pid=12683] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=12682 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1392s # Acquired a message bus connection 1392s dbus-daemon[12683]: [session uid=1000 pid=12683] Successfully activated service 'org.freedesktop.portal.Documents' 1392s # Acquired the name org.freedesktop.portal.Documents 1392s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1392s ok 2 /appinfo/flatpak-doc-export 1392s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1392s ok 3 /appinfo/flatpak-missing-doc-export 1392s # End of appinfo tests 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # Lost the name org.freedesktop.portal.Documents 1392s ok - glib/dbus-appinfo.test 1392s # Running test: glib/overflow-fallback.test 1392s TAP version 13 1392s # random seed: R02S10ec77bed860f8c36971c72dc1460eea 1392s 1..6 1392s # Start of glib tests 1392s # Start of checked-math tests 1392s ok 1 /glib/checked-math/guint-add 1392s ok 2 /glib/checked-math/guint-mul 1392s ok 3 /glib/checked-math/guint64-add 1392s ok 4 /glib/checked-math/guint64-mul 1392s ok 5 /glib/checked-math/gsize-add 1392s ok 6 /glib/checked-math/gsize-mul 1392s # End of checked-math tests 1392s # End of glib tests 1392s ok - glib/overflow-fallback.test 1392s # Running test: glib/properties-introspection.test 1392s TAP version 13 1392s # random seed: R02Sdcd641e581875d4d6942968dbe19f7f3 1392s 1..2 1392s # Start of properties tests 1392s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1392s ok 1 /properties/introspection 1392s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1392s ok 2 /properties/collision 1392s # End of properties tests 1392s ok - glib/properties-introspection.test 1393s # Running test: glib/file-thumbnail.test 1393s TAP version 13 1393s # random seed: R02S58c4267aa9b54730246ad0e58ae74632 1393s 1..7 1393s # Start of file-thumbnail tests 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/runtime 1393s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 1 /file-thumbnail/fail 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/runtime 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 2 /file-thumbnail/size-priority 1393s # Start of valid tests 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/runtime 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 3 /file-thumbnail/valid/normal 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/runtime 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 4 /file-thumbnail/valid/large 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/runtime 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 5 /file-thumbnail/valid/x-large 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/runtime 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 6 /file-thumbnail/valid/xx-large 1393s # End of valid tests 1393s # Start of unknown tests 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/runtime 1393s # Created test thumbnail at /tmp/test_file-thumbnail_79YSK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1393s ok 7 /file-thumbnail/unknown/super-large 1393s # End of unknown tests 1393s # End of file-thumbnail tests 1393s ok - glib/file-thumbnail.test 1393s # Running test: glib/performance.test 1393s Running test simple-construction 1397s # Executing: glib/performance.test 1401s Millions of constructed objects per second: 4.126 1401s Running test simple-construction1 1402s # Executing: glib/performance.test 1403s Millions of constructed objects per second: 51.201 1403s Running test complex-construction 1408s # Executing: glib/performance.test 1408s Millions of constructed objects per second: 2.445 1408s Running test complex-construction1 1412s # Executing: glib/performance.test 1415s Millions of constructed objects per second: 3.187 1415s Running test complex-construction2 1417s # Executing: glib/performance.test 1422s Millions of constructed objects per second: 3.350 1422s Running test finalization 1422s # Executing: glib/performance.test 1424s Millions of finalized objects per second: 0.774 1424s Running test type-check 1424s Million type checks per second: inf 1424s Running test emit-unhandled 1426s Emissions per second: 1090022 1426s Running test emit-unhandled-empty 1427s Emissions per second: 9522163 1427s Running test emit-unhandled-generic 1427s # Executing: glib/performance.test 1429s Emissions per second: 1313875 1429s Running test emit-unhandled-generic-empty 1430s Emissions per second: 9554329 1430s Running test emit-unhandled-args 1431s Emissions per second: 995640 1431s Running test emit-handled 1432s # Executing: glib/performance.test 1433s Emissions per second: 811740 1433s Running test emit-handled-empty 1435s Emissions per second: 841725 1435s Running test emit-handled-generic 1437s Emissions per second: 830635 1437s Running test emit-handled-generic-empty 1437s # Executing: glib/performance.test 1438s Emissions per second: 1318439 1438s Running test emit-handled-args 1440s Emissions per second: 738713 1440s Running test notify-unhandled 1441s Notify (unhandled) per second: 10330500 1441s Running test notify-by-pspec-unhandled 1442s # Executing: glib/performance.test 1442s Notify (unhandled) per second: 40728463 1442s Running test notify-handled 1445s Notify per second: 462738 1445s Running test notify-by-pspec-handled 1447s # Executing: glib/performance.test 1447s Notify per second: 462510 1447s Running test property-set 1449s Property set per second: 2350720 1449s Running test property-get 1450s Property get per second: 2226795 1450s Running test refcount 1452s # Executing: glib/performance.test 1456s Million refs+unref per second: 5.88 1456s ok - glib/performance.test 1456s # Running test: glib/filter-streams.test 1456s TAP version 13 1456s # random seed: R02Sf67da643341ec444432f9825fba649f9 1456s 1..4 1456s # Start of filter-stream tests 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1456s ok 1 /filter-stream/input 1456s ok 2 /filter-stream/output 1456s ok 3 /filter-stream/async-input 1456s ok 4 /filter-stream/async-output 1456s # End of filter-stream tests 1456s ok - glib/filter-streams.test 1456s # Running test: glib/pollable.test 1456s TAP version 13 1456s # random seed: R02Sdec1bf99789d364ff193852583580ee5 1456s 1..6 1456s # Start of pollable tests 1456s ok 1 /pollable/converter 1456s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1456s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x192974f2f790 and GSocketClientAsyncConnectData 0x192974f22ad0 1456s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1456s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1456s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x192974f30810 for GSocketClientAsyncConnectData 0x192974f22ad0 1456s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1456s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1456s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1456s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1456s ok 2 /pollable/socket 1456s # Start of unix tests 1456s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1456s ok 3 /pollable/unix/pipe 1456s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1456s ok 4 /pollable/unix/pty 1456s # /pollable/unix/file summary: Test that regular files are not considered pollable 1456s ok 5 /pollable/unix/file 1456s # /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 1456s ok 6 /pollable/unix/nulldev 1456s # End of unix tests 1456s # End of pollable tests 1456s ok - glib/pollable.test 1456s # Running test: glib/buffered-output-stream.test 1456s TAP version 13 1456s # random seed: R02S209ff10bf6627298a41d9b6464a31081 1456s 1..5 1456s # Start of buffered-output-stream tests 1456s ok 1 /buffered-output-stream/write 1456s ok 2 /buffered-output-stream/grow 1456s ok 3 /buffered-output-stream/seek 1456s ok 4 /buffered-output-stream/truncate 1456s # End of buffered-output-stream tests 1456s # Start of filter-output-stream tests 1456s ok 5 /filter-output-stream/close 1456s # End of filter-output-stream tests 1456s ok - glib/buffered-output-stream.test 1456s # Running test: glib/volumemonitor.test 1456s TAP version 13 1456s # random seed: R02S356d4e40bfd13ce23adaf7d10e06d6ac 1456s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1456s 1..3 1456s # Start of volumemonitor tests 1456s ok 1 /volumemonitor/connected_drives 1456s ok 2 /volumemonitor/volumes 1456s ok 3 /volumemonitor/mounts 1456s # End of volumemonitor tests 1456s ok - glib/volumemonitor.test 1456s # Running test: glib/gdbus-export.test 1456s TAP version 13 1456s # random seed: R02S8f43fdb1bdcbfb4a90e555fcf84950cb 1456s 1..6 1456s # Start of gdbus tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration/.dirs/runtime 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s ok 1 /gdbus/object-registration 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LFA1K2/gdbus/object-registration-with-closures/.dirs/runtime 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s ok 2 /gdbus/object-registration-with-closures 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LFA1K2/gdbus/registered-interfaces/.dirs/runtime 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s ok 3 /gdbus/registered-interfaces 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LFA1K2/gdbus/async-properties/.dirs/runtime 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s ok 4 /gdbus/async-properties 1456s # Start of threaded-unregistration tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/object/.dirs/runtime 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1456s # /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 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1456s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (11 iterations with unregistration first, 989 with call first); skipping test 1457s # slow test /gdbus/threaded-unregistration/object executed in 1.21 secs 1457s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/home 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/cache 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/config 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/data 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/state 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LFA1K2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1457s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1457s # /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 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # Executing: glib/gdbus-export.test 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (14 iterations with unregistration first, 986 with call first); skipping test 1458s # slow test /gdbus/threaded-unregistration/subtree executed in 1.16 secs 1458s # End of threaded-unregistration tests 1458s # End of gdbus tests 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s ok - glib/gdbus-export.test 1458s # Running test: glib/sequence.test 1458s TAP version 13 1458s # random seed: R02Sd57f41aba7ef8315d21d2bac57cc4d78 1458s 1..16 1458s # Start of sequence tests 1458s ok 1 /sequence/out-of-range-jump 1458s ok 2 /sequence/iter-move 1458s ok 3 /sequence/insert-sorted-non-pointer 1458s ok 4 /sequence/stable-sort 1458s ok 5 /sequence/is_empty 1458s # Start of random tests 1459s ok 6 /sequence/random/seed:825541564 1459s # slow test /sequence/random/seed:825541564 executed in 0.74 secs 1460s ok 7 /sequence/random/seed:801678400 1460s # slow test /sequence/random/seed:801678400 executed in 0.72 secs 1461s ok 8 /sequence/random/seed:1477639090 1461s # slow test /sequence/random/seed:1477639090 executed in 0.74 secs 1461s ok 9 /sequence/random/seed:3369132895 1461s # slow test /sequence/random/seed:3369132895 executed in 0.69 secs 1462s ok 10 /sequence/random/seed:1192944867 1462s # slow test /sequence/random/seed:1192944867 executed in 0.72 secs 1462s # Executing: glib/sequence.test 1463s ok 11 /sequence/random/seed:770458294 1463s # slow test /sequence/random/seed:770458294 executed in 0.77 secs 1464s ok 12 /sequence/random/seed:1099575817 1464s # slow test /sequence/random/seed:1099575817 executed in 0.76 secs 1464s ok 13 /sequence/random/seed:590523467 1464s # slow test /sequence/random/seed:590523467 executed in 0.78 secs 1465s ok 14 /sequence/random/seed:3583571454 1465s # slow test /sequence/random/seed:3583571454 executed in 0.76 secs 1466s ok 15 /sequence/random/seed:579241222 1466s # slow test /sequence/random/seed:579241222 executed in 0.75 secs 1467s ok 16 /sequence/random/seed:1067449769 1467s # slow test /sequence/random/seed:1067449769 executed in 0.79 secs 1467s # End of random tests 1467s # End of sequence tests 1467s ok - glib/sequence.test 1467s # Running test: glib/properties-refcount2.test 1467s TAP version 13 1467s # random seed: R02S9ae5a42a4ca3f62030afee7a47ce1561 1467s 1..1 1467s # Start of gobject tests 1467s # Start of refcount tests 1467s # init 0xc08103e770 1467s # 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1467s # Executing: glib/properties-refcount2.test 1467s # . 1467s # . 1467s # . 1467s # . 1467s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1468s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1469s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1470s # . 1471s # . 1471s # dispose 0xc08103e770! 1471s # 1471s ok 1 /gobject/refcount/properties-2 1471s # slow test /gobject/refcount/properties-2 executed in 3.88 secs 1471s # End of refcount tests 1471s # End of gobject tests 1471s ok - glib/properties-refcount2.test 1471s # Running test: glib/struct-info.test 1471s TAP version 13 1471s # random seed: R02S4c9a0af4bfd04f4c72b5d2a0e7a0e616 1471s 1..4 1471s # Start of struct-info tests 1471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_DGARK2/struct-info/field-iterators/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_DGARK2/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_DGARK2/struct-info/sizeof-gvalue/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_DGARK2/struct-info/sizeof-gvalue/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_DGARK2/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_DGARK2/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_DGARK2/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_DGARK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_DGARK2/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_DGARK2/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_DGARK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_DGARK2/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_DGARK2/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_DGARK2/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_DGARK2/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_DGARK2/struct-info/boxed/.dirs/home 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/cache 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/system-config2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/config 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/system-data2 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/data 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_DGARK2/struct-info/boxed/.dirs/state 1471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_DGARK2/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/converter-stream.test 1471s TAP version 13 1471s # random seed: R02Sb3d856c63f537d64fd4f89c743a3d8d9 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 1471s ok 4 /converter-input-stream/truncation/zlib 1471s ok 5 /converter-input-stream/truncation/gzip 1471s ok 6 /converter-input-stream/truncation/raw 1471s # End of truncation tests 1471s # Start of charset tests 1471s ok 7 /converter-input-stream/charset/utf8->latin1 1471s ok 8 /converter-input-stream/charset/latin1->utf8 1471s ok 9 /converter-input-stream/charset/fallbacks 1471s # End of charset tests 1471s # End of converter-input-stream tests 1471s # Start of converter-output-stream tests 1471s # Start of roundtrip tests 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1471s ok 10 /converter-output-stream/roundtrip/zlib-0 1471s # 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 1472s ok 13 /converter-output-stream/roundtrip/gzip-9 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1472s ok 14 /converter-output-stream/roundtrip/raw-0 1472s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1472s ok 15 /converter-output-stream/roundtrip/raw-9 1472s # End of roundtrip tests 1472s # End of converter-output-stream tests 1472s # Start of converter-stream tests 1472s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1472s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x16f3bffc9e80 and GSocketClientAsyncConnectData 0x16f3c03b52c0 1472s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1472s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1472s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x16f3bffd2fe0 for GSocketClientAsyncConnectData 0x16f3c03b52c0 1472s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1472s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1472s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1472s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1472s ok 16 /converter-stream/pollable 1472s ok 17 /converter-stream/leftover 1472s # End of converter-stream tests 1472s ok - glib/converter-stream.test 1472s # Running test: glib/gvariant.test 1472s TAP version 13 1472s # random seed: R02S189cdadfb91e6ccbd156e33312758a3b 1472s 1..64 1472s # Start of gvariant tests 1472s ok 1 /gvariant/type 1472s # Executing: glib/gvariant.test 1473s ok 2 /gvariant/typeinfo 1473s ok 3 /gvariant/string 1473s ok 4 /gvariant/utf8 1473s ok 5 /gvariant/containers 1473s # slow test /gvariant/containers executed in 0.91 secs 1473s ok 6 /gvariant/format-strings 1473s ok 7 /gvariant/invalid-varargs 1473s ok 8 /gvariant/varargs 1473s ok 9 /gvariant/valist 1473s ok 10 /gvariant/builder-memory 1474s ok 11 /gvariant/hashing 1474s ok 12 /gvariant/byteswap 1474s ok 13 /gvariant/parser 1474s # slow test /gvariant/parser executed in 0.50 secs 1474s ok 14 /gvariant/parse-failures 1474s ok 15 /gvariant/parse-positional 1474s ok 16 /gvariant/floating 1474s ok 17 /gvariant/bytestring 1474s ok 18 /gvariant/lookup-value 1474s ok 19 /gvariant/lookup 1474s ok 20 /gvariant/compare 1474s ok 21 /gvariant/equal 1474s ok 22 /gvariant/fixed-array 1474s ok 23 /gvariant/check-format-string 1474s ok 24 /gvariant/checksum-basic 1474s ok 25 /gvariant/checksum-nested 1474s ok 26 /gvariant/gbytes 1474s ok 27 /gvariant/print-context 1474s ok 28 /gvariant/error-quark 1474s ok 29 /gvariant/stack-builder-init 1474s ok 30 /gvariant/stack-dict-init 1474s ok 31 /gvariant/unaligned-construction 1474s # Start of type tests 1474s # Start of string-scan tests 1474s # Start of recursion tests 1474s ok 32 /gvariant/type/string-scan/recursion/tuple 1474s ok 33 /gvariant/type/string-scan/recursion/array 1474s # End of recursion tests 1474s # End of string-scan tests 1474s # End of type tests 1474s # Start of serialiser tests 1474s ok 34 /gvariant/serialiser/maybe 1475s ok 35 /gvariant/serialiser/array 1475s ok 36 /gvariant/serialiser/tuple 1475s ok 37 /gvariant/serialiser/variant 1475s ok 38 /gvariant/serialiser/strings 1476s ok 39 /gvariant/serialiser/byteswap 1476s # slow test /gvariant/serialiser/byteswap executed in 0.79 secs 1476s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1476s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1476s ok 40 /gvariant/serialiser/children 1476s # Start of fuzz tests 1476s ok 41 /gvariant/serialiser/fuzz/1% 1477s ok 42 /gvariant/serialiser/fuzz/5% 1477s # slow test /gvariant/serialiser/fuzz/5% executed in 0.50 secs 1477s ok 43 /gvariant/serialiser/fuzz/9% 1477s # slow test /gvariant/serialiser/fuzz/9% executed in 0.73 secs 1477s # Executing: glib/gvariant.test 1482s # Executing: glib/gvariant.test 1483s ok 44 /gvariant/serialiser/fuzz/13% 1483s # slow test /gvariant/serialiser/fuzz/13% executed in 5.29 secs 1483s ok 45 /gvariant/serialiser/fuzz/17% 1483s # slow test /gvariant/serialiser/fuzz/17% executed in 0.89 secs 1483s # End of fuzz tests 1483s # End of serialiser tests 1483s # Start of varargs tests 1483s # Start of subprocess tests 1483s # End of subprocess tests 1483s # End of varargs tests 1483s # Start of byteswap tests 1483s # /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. 1483s ok 46 /gvariant/byteswap/non-normal-non-aligned 1483s # End of byteswap tests 1483s # Start of parser tests 1483s ok 47 /gvariant/parser/integer-bounds 1483s ok 48 /gvariant/parser/recursion 1483s # Start of recursion tests 1483s ok 49 /gvariant/parser/recursion/typedecls 1483s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1483s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1483s # Text form 0: @mmmu 5 1483s # Text form 1: @mmmas ['hello'] 1483s # Text form 2: @mmmu just just nothing 1483s # Text form 3: @mmmas just just nothing 1483s # Text form 4: @mmmu just nothing 1483s # Text form 5: @mmmas just nothing 1483s # Text form 6: @mmmu nothing 1483s # Text form 7: @mmmas nothing 1483s ok 50 /gvariant/parser/recursion/maybes 1483s # End of recursion tests 1483s # End of parser tests 1483s # Start of parse tests 1483s # Start of subprocess tests 1483s # End of subprocess tests 1483s # End of parse tests 1483s # Start of normal-checking tests 1483s ok 51 /gvariant/normal-checking/tuples 1483s ok 52 /gvariant/normal-checking/array-offsets 1483s ok 53 /gvariant/normal-checking/array-offsets2 1483s ok 54 /gvariant/normal-checking/tuple-offsets 1483s ok 55 /gvariant/normal-checking/tuple-offsets2 1483s ok 56 /gvariant/normal-checking/tuple-offsets3 1483s ok 57 /gvariant/normal-checking/tuple-offsets4 1483s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1483s ok 58 /gvariant/normal-checking/tuple-offsets5 1484s ok 59 /gvariant/normal-checking/empty-object-path 1484s # Start of array-offsets tests 1484s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1484s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1484s # End of array-offsets tests 1484s # Start of tuple-offsets tests 1484s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1484s # End of tuple-offsets tests 1484s # End of normal-checking tests 1484s # Start of recursion-limits tests 1484s ok 63 /gvariant/recursion-limits/variant-in-variant 1484s ok 64 /gvariant/recursion-limits/array-in-variant 1484s # End of recursion-limits tests 1484s # End of gvariant tests 1484s ok - glib/gvariant.test 1484s # Running test: glib/pattern.test 1484s TAP version 13 1484s # random seed: R02Sa2abac94a0d9b0258e82cb4f42d3bac2 1484s 1..90 1484s # Start of pattern tests 1484s # Start of compile tests 1484s ok 1 /pattern/compile/0 1484s ok 2 /pattern/compile/1 1484s ok 3 /pattern/compile/2 1484s ok 4 /pattern/compile/3 1484s ok 5 /pattern/compile/4 1484s ok 6 /pattern/compile/5 1484s ok 7 /pattern/compile/6 1484s ok 8 /pattern/compile/7 1484s ok 9 /pattern/compile/8 1484s ok 10 /pattern/compile/9 1484s ok 11 /pattern/compile/10 1484s ok 12 /pattern/compile/11 1484s ok 13 /pattern/compile/12 1484s ok 14 /pattern/compile/13 1484s # End of compile tests 1484s # Start of copy tests 1484s ok 15 /pattern/copy/0 1484s ok 16 /pattern/copy/1 1484s ok 17 /pattern/copy/2 1484s ok 18 /pattern/copy/3 1484s ok 19 /pattern/copy/4 1484s ok 20 /pattern/copy/5 1484s ok 21 /pattern/copy/6 1484s ok 22 /pattern/copy/7 1484s ok 23 /pattern/copy/8 1484s ok 24 /pattern/copy/9 1484s ok 25 /pattern/copy/10 1484s ok 26 /pattern/copy/11 1484s ok 27 /pattern/copy/12 1484s ok 28 /pattern/copy/13 1484s # End of copy tests 1484s # Start of match tests 1484s ok 29 /pattern/match/0 1484s ok 30 /pattern/match/1 1484s ok 31 /pattern/match/2 1484s ok 32 /pattern/match/3 1484s ok 33 /pattern/match/4 1484s ok 34 /pattern/match/5 1484s ok 35 /pattern/match/6 1484s ok 36 /pattern/match/7 1484s ok 37 /pattern/match/8 1484s ok 38 /pattern/match/9 1484s ok 39 /pattern/match/10 1484s ok 40 /pattern/match/11 1484s ok 41 /pattern/match/12 1484s ok 42 /pattern/match/13 1484s ok 43 /pattern/match/14 1484s ok 44 /pattern/match/15 1484s ok 45 /pattern/match/16 1484s ok 46 /pattern/match/17 1484s ok 47 /pattern/match/18 1484s ok 48 /pattern/match/19 1484s ok 49 /pattern/match/20 1484s ok 50 /pattern/match/21 1484s ok 51 /pattern/match/22 1484s ok 52 /pattern/match/23 1484s ok 53 /pattern/match/24 1484s ok 54 /pattern/match/25 1484s ok 55 /pattern/match/26 1484s ok 56 /pattern/match/27 1484s ok 57 /pattern/match/28 1484s ok 58 /pattern/match/29 1484s ok 59 /pattern/match/30 1484s ok 60 /pattern/match/31 1484s ok 61 /pattern/match/32 1484s ok 62 /pattern/match/33 1484s ok 63 /pattern/match/34 1484s ok 64 /pattern/match/35 1484s ok 65 /pattern/match/36 1484s ok 66 /pattern/match/37 1484s ok 67 /pattern/match/38 1484s ok 68 /pattern/match/39 1484s ok 69 /pattern/match/40 1484s ok 70 /pattern/match/41 1484s ok 71 /pattern/match/42 1484s ok 72 /pattern/match/43 1484s ok 73 /pattern/match/44 1484s ok 74 /pattern/match/45 1484s ok 75 /pattern/match/46 1484s ok 76 /pattern/match/47 1484s ok 77 /pattern/match/48 1484s ok 78 /pattern/match/49 1484s ok 79 /pattern/match/50 1484s # End of match tests 1484s # Start of equal tests 1484s ok 80 /pattern/equal/0 1484s ok 81 /pattern/equal/1 1484s ok 82 /pattern/equal/2 1484s ok 83 /pattern/equal/3 1484s ok 84 /pattern/equal/4 1484s ok 85 /pattern/equal/5 1484s ok 86 /pattern/equal/6 1484s ok 87 /pattern/equal/7 1484s ok 88 /pattern/equal/8 1484s ok 89 /pattern/equal/9 1484s ok 90 /pattern/equal/10 1484s # End of equal tests 1484s # End of pattern tests 1484s ok - glib/pattern.test 1484s # Running test: glib/param.test 1484s TAP version 13 1484s # random seed: R02Sa85799fa0f4598ea38aa06fabebcef06 1484s 1..32 1484s # Start of param tests 1484s ok 1 /param/value 1484s ok 2 /param/strings 1484s ok 3 /param/qdata 1484s ok 4 /param/validate 1484s ok 5 /param/convert 1484s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1484s ok 7 /param/default 1484s ok 8 /param/is-valid-name 1484s # Start of invalid-name tests 1484s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1484s ok 9 /param/invalid-name/colon 1484s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1484s ok 10 /param/invalid-name/first-char 1484s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1484s ok 11 /param/invalid-name/empty 1484s # End of invalid-name tests 1484s # Start of implement tests 1484s # Start of subprocess tests 1484s # End of subprocess tests 1484s # End of implement tests 1484s # End of param tests 1484s # Start of value tests 1484s ok 12 /value/transform 1484s # End of value tests 1484s # Start of paramspec tests 1484s ok 13 /paramspec/char 1484s ok 14 /paramspec/uchar 1484s ok 15 /paramspec/int 1484s ok 16 /paramspec/uint 1484s ok 17 /paramspec/long 1484s ok 18 /paramspec/ulong 1484s ok 19 /paramspec/int64 1484s ok 20 /paramspec/uint64 1484s ok 21 /paramspec/float 1484s ok 22 /paramspec/double 1484s ok 23 /paramspec/unichar 1484s ok 24 /paramspec/param 1484s ok 25 /paramspec/null-param 1484s ok 26 /paramspec/string 1484s ok 27 /paramspec/override 1484s ok 28 /paramspec/gtype 1484s ok 29 /paramspec/variant 1484s ok 30 /paramspec/custom 1484s ok 31 /paramspec/pool 1484s # Start of variant tests 1484s ok 32 /paramspec/variant/cmp 1484s # End of variant tests 1484s # End of paramspec tests 1484s ok - glib/param.test 1484s # Running test: glib/type.test 1484s TAP version 13 1484s # random seed: R02Sec146bf19c93f508ffaa7ef7f5b0db53 1484s 1..6 1484s # Start of type tests 1484s ok 1 /type/registration-serial 1484s ok 2 /type/interface-prerequisite 1484s ok 3 /type/interface-check 1484s ok 4 /type/next-base 1484s ok 5 /type/is-a 1484s # Invalid types can?t be queried. 1484s # Unclassed types can?t be queried. 1484s ok 6 /type/query 1484s # End of type tests 1484s ok - glib/type.test 1484s # Running test: glib/performance-threaded.test 1484s Running test "liststore-is-a" 1485s 2222 runs, min/avg/max = 0.432/0.450/0.800 ms 1485s Running test "liststore-interface-peek" 1486s 2678 runs, min/avg/max = 0.360/0.373/0.573 ms 1486s Running test "liststore-interface-peek-same" 1487s 2657 runs, min/avg/max = 0.359/0.376/0.580 ms 1487s ok - glib/performance-threaded.test 1487s # Running test: glib/strfuncs.test 1487s TAP version 13 1487s # random seed: R02Sb6cf488f420c77d5510d6ad5019604ca 1487s 1..50 1487s # Start of strfuncs tests 1487s ok 1 /strfuncs/ascii-strcasecmp 1487s ok 2 /strfuncs/ascii_strdown 1487s ok 3 /strfuncs/ascii_strdup 1487s ok 4 /strfuncs/ascii_strtod 1487s ok 5 /strfuncs/bounds-check 1487s ok 6 /strfuncs/has-prefix 1487s ok 7 /strfuncs/has-prefix-macro 1487s ok 8 /strfuncs/has-suffix 1487s ok 9 /strfuncs/has-suffix-macro 1487s ok 10 /strfuncs/memdup 1487s ok 11 /strfuncs/memdup2 1487s ok 12 /strfuncs/set_str 1487s ok 13 /strfuncs/stpcpy 1487s ok 14 /strfuncs/str_match_string 1487s ok 15 /strfuncs/str_tokenize_and_fold 1487s ok 16 /strfuncs/strcanon 1487s ok 17 /strfuncs/strchomp 1487s ok 18 /strfuncs/strchug 1487s ok 19 /strfuncs/strcompress-strescape 1487s ok 20 /strfuncs/strconcat 1487s ok 21 /strfuncs/strdelimit 1487s ok 22 /strfuncs/strdup 1487s ok 23 /strfuncs/strdup-printf 1487s ok 24 /strfuncs/strdupv 1487s ok 25 /strfuncs/strerror 1487s ok 26 /strfuncs/strip-context 1487s ok 27 /strfuncs/strjoin 1487s ok 28 /strfuncs/strjoinv 1487s ok 29 /strfuncs/strlcat 1487s ok 30 /strfuncs/strlcpy 1487s ok 31 /strfuncs/strncasecmp 1487s ok 32 /strfuncs/strndup 1487s ok 33 /strfuncs/strnfill 1487s ok 34 /strfuncs/strreverse 1487s ok 35 /strfuncs/strsignal 1487s ok 36 /strfuncs/strsplit 1487s ok 37 /strfuncs/strsplit-set 1487s ok 38 /strfuncs/strstr 1487s ok 39 /strfuncs/strtod 1487s ok 40 /strfuncs/strtoull-strtoll 1487s ok 41 /strfuncs/strup 1487s ok 42 /strfuncs/strv-contains 1487s ok 43 /strfuncs/strv-equal 1487s ok 44 /strfuncs/strv-length 1487s ok 45 /strfuncs/test-is-to-digit 1487s ok 46 /strfuncs/transliteration 1487s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1487s ok 47 /strfuncs/str-equal 1487s # Start of ascii-string-to-num tests 1487s ok 48 /strfuncs/ascii-string-to-num/pathological 1487s ok 49 /strfuncs/ascii-string-to-num/usual 1487s # End of ascii-string-to-num tests 1487s # Start of strdup tests 1487s ok 50 /strfuncs/strdup/inline 1487s # End of strdup tests 1487s # End of strfuncs tests 1487s ok - glib/strfuncs.test 1487s # Running test: glib/memory-monitor.test 1487s TAP version 13 1487s # random seed: R02S059cb7753c075500b7500e38b944385e 1487s 1..1 1487s # Start of memory-monitor tests 1487s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1487s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1487s ok 1 /memory-monitor/default 1487s # End of memory-monitor tests 1487s ok - glib/memory-monitor.test 1487s # Running test: glib/atomic-c-17.test 1487s TAP version 13 1487s # random seed: R02S5255d979a07410f3c503dac30507f75e 1487s 1..2 1487s # Start of atomic tests 1487s ok 1 /atomic/types 1487s ok 2 /atomic/threaded 1487s # End of atomic tests 1487s ok - glib/atomic-c-17.test 1487s # Running test: glib/socket-service.test 1487s TAP version 13 1487s # random seed: R02S7f51640f115096f0bc03ff64968fef63 1487s 1..4 1487s # Start of socket-service tests 1487s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1487s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x15ea2ccec370 and GSocketClientAsyncConnectData 0x15ea2cce4620 1487s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1487s ok 1 /socket-service/start-stop 1487s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x15ea2ccede90 and GSocketClientAsyncConnectData 0x15ea2ccedc30 1487s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1487s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1487s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x15ea2ccee3a0 for GSocketClientAsyncConnectData 0x15ea2cce4620 1487s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1487s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1487s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1487s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1487s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1487s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x15ea2ccef220 for GSocketClientAsyncConnectData 0x15ea2ccedc30 1487s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1487s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1487s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1487s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1487s ok 2 /socket-service/read_write_async 1487s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x15ea2ccedf70 and GSocketClientAsyncConnectData 0x15ea2ccec940 1487s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1487s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1487s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x15ea2ccf0160 for GSocketClientAsyncConnectData 0x15ea2ccec940 1487s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1487s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1487s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1487s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1487s ok 3 /socket-service/read_writev_async 1487s # Start of threaded tests 1487s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1487s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x15ea2ccf36f0 and GSocketClientAsyncConnectData 0x15ea2cce4620 1487s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1487s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1487s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x15ea2ccf3870 for GSocketClientAsyncConnectData 0x15ea2cce4620 1487s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1487s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1487s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1487s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1487s ok 4 /socket-service/threaded/712570 1487s # End of threaded tests 1487s # End of socket-service tests 1487s ok - glib/socket-service.test 1487s # Running test: glib/types.test 1487s TAP version 13 1487s # random seed: R02S1c36be197ab39861b57fbd0ec357742b 1487s 1..1 1487s # Start of types tests 1487s ok 1 /types/basic_types 1487s # End of types tests 1487s ok - glib/types.test 1487s # Running test: glib/gdbus-test-codegen-old.test 1487s TAP version 13 1487s # random seed: R02S70568d62679d4c0a8ad5c81da8f21406 1487s 1..8 1487s # Start of gdbus tests 1487s # Start of codegen tests 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/annotations/.dirs/runtime 1487s ok 1 /gdbus/codegen/annotations 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/interface_stability/.dirs/runtime 1487s ok 2 /gdbus/codegen/interface_stability 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/object-manager/.dirs/runtime 1487s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1487s ok 3 /gdbus/codegen/object-manager 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/property-naming/.dirs/runtime 1487s ok 4 /gdbus/codegen/property-naming 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/autocleanups/.dirs/runtime 1487s ok 5 /gdbus/codegen/autocleanups 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/deprecations/.dirs/runtime 1487s ok 6 /gdbus/codegen/deprecations 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1487s ok 7 /gdbus/codegen/standalone-interface-info 1487s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/home 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/cache 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/config 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/data 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/state 1487s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_82C1K2/gdbus/codegen/unix-fd-list/.dirs/runtime 1487s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1487s ok 8 /gdbus/codegen/unix-fd-list 1487s # End of codegen tests 1487s # End of gdbus tests 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s ok - glib/gdbus-test-codegen-old.test 1487s # Running test: glib/signals-refcount1.test 1487s TAP version 13 1487s # random seed: R02S835ff3ca1e4d9354c7712f1e45e90417 1487s 1..1 1487s # Start of gobject tests 1487s # Start of refcount tests 1487s # init 0xdc1d1daf420 1487s # 1487s # init 0xdc1d1daf5c0 1487s # 1487s # Executing: glib/signals-refcount1.test 1492s # dispose 0xdc1d1daf420! 1492s # 1492s # dispose 0xdc1d1daf5c0! 1492s # 1492s ok 1 /gobject/refcount/signals 1492s # slow test /gobject/refcount/signals executed in 5.00 secs 1492s # End of refcount tests 1492s # End of gobject tests 1492s ok - glib/signals-refcount1.test 1492s # Running test: glib/network-monitor-race.test 1492s TAP version 13 1492s # random seed: R02Sb1fb51426d3df797ab147500617f05b8 1492s 1..1 1492s # Start of network-monitor tests 1492s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1492s # Executing: glib/network-monitor-race.test 1494s ok 1 /network-monitor/create-in-thread 1494s # slow test /network-monitor/create-in-thread executed in 2.18 secs 1494s # End of network-monitor tests 1494s ok - glib/network-monitor-race.test 1494s # Running test: glib/g-icon.test 1494s TAP version 13 1494s # random seed: R02Seeabc2afefa124497091e4dd3682ab57 1494s 1..6 1494s # Start of icons tests 1494s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1494s ok 1 /icons/to-string 1494s ok 2 /icons/serialize 1494s ok 3 /icons/themed 1494s ok 4 /icons/emblemed 1494s ok 5 /icons/file 1494s ok 6 /icons/bytes 1494s # End of icons tests 1494s ok - glib/g-icon.test 1494s # Running test: glib/defaultvalue.test 1494s TAP version 13 1494s # random seed: R02Sd22b130fab00eaa9e8fa6ba6e7bb0bb2 1494s 1..84 1494s # Start of Default Values tests 1494s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1494s ok 2 /Default Values/GAppLaunchContext 1494s ok 3 /Default Values/GApplicationCommandLine 1494s # skipping GApplication:is-remote 1494s ok 4 /Default Values/GApplication 1494s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1494s ok 6 /Default Values/GBindingGroup 1494s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1494s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1494s ok 9 /Default Values/GBytesIcon 1494s ok 10 /Default Values/GCancellable 1494s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1494s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1494s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1494s ok 14 /Default Values/GCredentials 1494s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1494s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1494s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1494s ok 18 /Default Values/GDBusAuthObserver 1494s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1494s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1494s ok 21 /Default Values/GDBusMessage 1494s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1494s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1494s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1494s ok 25 /Default Values/GDBusObjectProxy 1494s ok 26 /Default Values/GDBusObjectSkeleton 1494s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1494s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1494s ok 29 /Default Values/GEmblem 1494s ok 30 /Default Values/GEmblemedIcon 1494s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1494s ok 32 /Default Values/GFileInfo 1494s ok 33 /Default Values/GFileInputStream 1494s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1494s ok 35 /Default Values/GFileOutputStream 1494s ok 36 /Default Values/GFilenameCompleter 1494s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1494s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1494s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1494s ok 40 /Default Values/GInitiallyUnowned 1494s ok 41 /Default Values/GIOModule 1494s ok 42 /Default Values/GListStore 1494s ok 43 /Default Values/GMemoryInputStream 1494s ok 44 /Default Values/GMemoryOutputStream 1494s ok 45 /Default Values/GMenu 1494s ok 46 /Default Values/GMenuItem 1494s ok 47 /Default Values/GMountOperation 1494s ok 48 /Default Values/GNativeSocketAddress 1494s ok 49 /Default Values/GNetworkAddress 1494s ok 50 /Default Values/GNetworkService 1494s ok 51 /Default Values/GNotification 1494s ok 52 /Default Values/GObject 1494s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1494s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1494s # skipping GProxyAddressEnumerator:proxy-resolver 1494s ok 54 /Default Values/GProxyAddressEnumerator 1494s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1494s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1494s ok 57 /Default Values/GSignalGroup 1494s ok 58 /Default Values/GSimpleAction 1494s ok 59 /Default Values/GSimpleActionGroup 1494s ok 60 /Default Values/GSimpleAsyncResult 1494s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1494s ok 62 /Default Values/GSimplePermission 1494s ok 63 /Default Values/GSimpleProxyResolver 1494s # skipping GSocketClient:proxy-resolver 1494s ok 64 /Default Values/GSocketClient 1494s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1494s ok 66 /Default Values/GSocket # SKIP initialization failed 1494s ok 67 /Default Values/GSocketListener 1494s ok 68 /Default Values/GSocketService 1494s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1494s ok 70 /Default Values/GSubprocessLauncher 1494s # GLib-GIO-DEBUG: GTask 0x5750faa5f90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1494s ok 71 /Default Values/GTask 1494s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1494s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1494s ok 74 /Default Values/GTestDBus 1494s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1494s ok 76 /Default Values/GThreadedSocketService 1494s ok 77 /Default Values/GTlsInteraction 1494s ok 78 /Default Values/GTlsPassword 1494s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1494s ok 80 /Default Values/GUnixFDList 1494s ok 81 /Default Values/GVfs 1494s ok 82 /Default Values/GVolumeMonitor 1494s ok 83 /Default Values/GZlibCompressor 1494s ok 84 /Default Values/GZlibDecompressor 1494s # End of Default Values tests 1494s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1494s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1494s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1494s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1494s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1494s ok - glib/defaultvalue.test 1494s cleaning up pid 14917 1494s # Running test: glib/gdbus-close-pending.test 1494s TAP version 13 1494s # random seed: R02S8595a85cfc19b3a611e06f29d704cc51 1494s 1..2 1494s # Start of gdbus tests 1494s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/home 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/cache 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/system-config2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/config 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/system-data2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/data 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/state 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/close-pending/.dirs/runtime 1494s ok 1 /gdbus/close-pending 1494s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/home 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/cache 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/system-config2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/config 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/system-data2 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/data 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/state 1494s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_UKJIK2/gdbus/unref-pending/.dirs/runtime 1495s ok 2 /gdbus/unref-pending 1495s # End of gdbus tests 1495s ok - glib/gdbus-close-pending.test 1495s # Running test: glib/dynamictype.test 1495s TAP version 13 1495s # random seed: R02Se4e0b02ba410ad3c2e17eb31b5f0f816 1495s 1..2 1495s # Start of gobject tests 1495s ok 1 /gobject/dynamic-type 1495s # Start of dynamic-type tests 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1495s ok 2 /gobject/dynamic-type/query 1495s # End of dynamic-type tests 1495s # End of gobject tests 1495s ok - glib/dynamictype.test 1495s # Running test: glib/resolver-parsing.test 1495s TAP version 13 1495s # random seed: R02Sd2fa218d95db1bec4e9429cfcdeb6a1e 1495s 1..20 1495s # Start of gresolver tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/invalid-header/.dirs/runtime 1495s ok 1 /gresolver/invalid-header 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/unknown-record-type/.dirs/runtime 1495s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1495s ok 2 /gresolver/unknown-record-type 1495s # Start of mx tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/valid/.dirs/runtime 1495s ok 3 /gresolver/mx/valid 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/.dirs/runtime 1495s ok 4 /gresolver/mx/invalid 1495s # Start of invalid tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short/.dirs/runtime 1495s ok 5 /gresolver/mx/invalid/too-short 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/mx/invalid/too-short2/.dirs/runtime 1495s ok 6 /gresolver/mx/invalid/too-short2 1495s # End of invalid tests 1495s # End of mx tests 1495s # Start of ns tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/valid/.dirs/runtime 1495s ok 7 /gresolver/ns/valid 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/ns/invalid/.dirs/runtime 1495s ok 8 /gresolver/ns/invalid 1495s # End of ns tests 1495s # Start of soa tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/valid/.dirs/runtime 1495s ok 9 /gresolver/soa/valid 1495s # Start of invalid tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/mname/.dirs/runtime 1495s ok 10 /gresolver/soa/invalid/mname 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/rname/.dirs/runtime 1495s ok 11 /gresolver/soa/invalid/rname 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/soa/invalid/too-short/.dirs/runtime 1495s ok 12 /gresolver/soa/invalid/too-short 1495s # End of invalid tests 1495s # End of soa tests 1495s # Start of srv tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/valid/.dirs/runtime 1495s ok 13 /gresolver/srv/valid 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/.dirs/runtime 1495s ok 14 /gresolver/srv/invalid 1495s # Start of invalid tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short/.dirs/runtime 1495s ok 15 /gresolver/srv/invalid/too-short 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/srv/invalid/too-short2/.dirs/runtime 1495s ok 16 /gresolver/srv/invalid/too-short2 1495s # End of invalid tests 1495s # End of srv tests 1495s # Start of txt tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/.dirs/runtime 1495s ok 17 /gresolver/txt/valid 1495s # Start of valid tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1495s ok 18 /gresolver/txt/valid/multiple-strings 1495s # End of valid tests 1495s # Start of invalid tests 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/empty/.dirs/runtime 1495s ok 19 /gresolver/txt/invalid/empty 1495s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/home 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/cache 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/system-config2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/config 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/system-data2 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/data 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/state 1495s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_7OUZK2/gresolver/txt/invalid/overflow/.dirs/runtime 1495s ok 20 /gresolver/txt/invalid/overflow 1495s # End of invalid tests 1495s # End of txt tests 1495s # End of gresolver tests 1495s ok - glib/resolver-parsing.test 1495s # Running test: glib/notify-init.test 1495s TAP version 13 1495s # random seed: R02S7311427591cfb612e2ca5232d8c98632 1495s 1..1 1495s # Start of properties tests 1495s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1495s ok 1 /properties/notify-in-init 1495s # End of properties tests 1495s ok - glib/notify-init.test 1495s # Running test: glib/references.test 1495s TAP version 13 1495s # random seed: R02S19a5efb5a459540b0dc142c55f901c87 1495s 1..1 1495s # Start of gobject tests 1495s ok 1 /gobject/references 1495s # End of gobject tests 1495s ok - glib/references.test 1495s # Running test: glib/refcount.test 1495s TAP version 13 1495s # random seed: R02S7bd64810665f0d12bd1fe4134328d1a5 1495s 1..4 1495s # Start of refcount tests 1495s ok 1 /refcount/grefcount 1495s ok 2 /refcount/gatomicrefcount 1495s # Start of grefcount tests 1495s ok 3 /refcount/grefcount/saturation 1495s # End of grefcount tests 1495s # Start of gatomicrefcount tests 1495s ok 4 /refcount/gatomicrefcount/saturation 1495s # End of gatomicrefcount tests 1495s # End of refcount tests 1495s ok - glib/refcount.test 1495s # Running test: glib/srvtarget.test 1495s TAP version 13 1495s # random seed: R02S52a411a69a99fd118f0e14d231b6f71d 1495s 1..1 1495s # Start of srvtarget tests 1496s ok 1 /srvtarget/srv-target-ordering 1496s # slow test /srvtarget/srv-target-ordering executed in 0.85 secs 1496s # End of srvtarget tests 1496s ok - glib/srvtarget.test 1496s # Running test: glib/sleepy-stream.test 1496s TAP version 13 1496s # random seed: R02S66289fe47375b2db74fe8e5b564f31f8 1496s 1..2 1496s # Start of filter-stream tests 1496s ok 1 /filter-stream/input 1496s ok 2 /filter-stream/async 1496s # End of filter-stream tests 1496s ok - glib/sleepy-stream.test 1496s # Running test: glib/mimeapps.test 1496s TAP version 13 1496s # random seed: R02Sebc37400a3cfb1889ee35d82a22ae71a 1496s 1..7 1496s # Start of appinfo tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1496s ok 1 /appinfo/all 1496s # Start of mime tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_32LWK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config 1496s ok 2 /appinfo/mime/api 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config 1496s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_32LWK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config 1496s ok 3 /appinfo/mime/default 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_32LWK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config 1496s ok 4 /appinfo/mime/file 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1496s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_32LWK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/config 1496s ok 5 /appinfo/mime/scheme-handler 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_32LWK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config 1496s ok 6 /appinfo/mime/default-last-used 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1496s # removing '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1496s # creating '/tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1496s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_32LWK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_32LWK2/appinfo/mime/ignore-nonexisting/.dirs/config 1496s ok 7 /appinfo/mime/ignore-nonexisting 1496s # End of mime tests 1496s # End of appinfo tests 1496s ok - glib/mimeapps.test 1496s # Running test: glib/sandbox.test 1496s TAP version 13 1496s # random seed: R02Se4fac89195486a461127ea349ce008a0 1496s 1..4 1496s # Start of sandbox tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_SP20K2/sandbox/none/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_SP20K2/sandbox/none/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_SP20K2/sandbox/none/.dirs/runtime 1496s ok 1 /sandbox/none 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_SP20K2/sandbox/snap/.dirs/runtime 1496s # Created snap.yaml in /tmp/test_sandbox_SP20K2/snap/current/meta/snap.yaml 1496s ok 2 /sandbox/snap 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_SP20K2/sandbox/classic-snap/.dirs/runtime 1496s # Created snap.yaml in /tmp/test_sandbox_SP20K2/snap/current/meta/snap.yaml 1496s ok 3 /sandbox/classic-snap 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/runtime 1496s # Creating .flatpak-info in /tmp/test_sandbox_SP20K2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1496s ok 4 /sandbox/flatpak 1496s # End of sandbox tests 1496s ok - glib/sandbox.test 1496s # Running test: glib/gdbus-connection-flush.test 1496s TAP version 13 1496s # random seed: R02Sd5a42a97891a435afe21c330cab3a0a3 1496s 1..2 1496s # Start of gdbus tests 1496s # Start of connection tests 1496s # Start of flush tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/busy/.dirs/runtime 1496s ok 1 /gdbus/connection/flush/busy 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_AAW0K2/gdbus/connection/flush/idle/.dirs/runtime 1496s ok 2 /gdbus/connection/flush/idle 1496s # End of flush tests 1496s # End of connection tests 1496s # End of gdbus tests 1496s ok - glib/gdbus-connection-flush.test 1496s # Running test: glib/genmarshal.py.test 1496s TAP version 13 1496s ok 1 __main__.TestGenmarshal.test_empty_list 1496s # tmpdir: /tmp/tmplzlxzgn2 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # /tmp/tmplzlxzgn2/tmpn93cg5hg.list: 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplzlxzgn2/tmpn93cg5hg.list', '--header', '--quiet'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # 1496s # #include 1496s # 1496s # G_BEGIN_DECLS 1496s # 1496s # 1496s # G_END_DECLS 1496s # 1496s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplzlxzgn2/tmpn93cg5hg.list', '--body', '--quiet'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #include 1496s # 1496s # #ifdef G_ENABLE_DEBUG 1496s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1496s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1496s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1496s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1496s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1496s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1496s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1496s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1496s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1496s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1496s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1496s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1496s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1496s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1496s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1496s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1496s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1496s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1496s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1496s # #else /* !G_ENABLE_DEBUG */ 1496s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1496s # * Do not access GValues directly in your code. Instead, use the 1496s # * g_value_get_*() functions 1496s # */ 1496s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1496s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1496s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1496s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1496s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1496s # #endif /* !G_ENABLE_DEBUG */ 1496s ok 2 __main__.TestGenmarshal.test_help 1496s # tmpdir: /tmp/tmp9viqa70d 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1496s # [--internal] [--valist-marshallers] [-v] 1496s # [--g-fatal-warnings] [--include-header [HEADER]] 1496s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1496s # [--prototypes] [--header] [--body] 1496s # [--stdinc | --nostdinc] [--quiet | --verbose] 1496s # [FILE ...] 1496s # 1496s # Generate signal marshallers for GObject 1496s # 1496s # positional arguments: 1496s # FILE Files with lists of marshallers to generate, or "-" 1496s # for standard input 1496s # 1496s # options: 1496s # -h, --help show this help message and exit 1496s # --prefix STRING Specify marshaller prefix 1496s # --output FILE Write output into the specified file 1496s # --skip-source Skip source location comments 1496s # --internal Mark generated functions as internal 1496s # --valist-marshallers Generate va_list marshallers 1496s # -v, --version Print version information, and exit 1496s # --g-fatal-warnings Make warnings fatal 1496s # --include-header [HEADER] 1496s # Include the specified header in the body 1496s # --pragma-once Use "pragma once" as the inclusion guard 1496s # -D CPP_DEFINES Pre-processor define 1496s # -U CPP_UNDEFINES Pre-processor undefine 1496s # --prototypes Generate the marshallers prototype in the C code 1496s # --header Generate C headers 1496s # --body Generate C code 1496s # --stdinc Include standard marshallers 1496s # --nostdinc Use standard marshallers 1496s # --quiet Only print warnings and errors 1496s # --verbose Be verbose, and include debugging information 1496s ok 3 __main__.TestGenmarshal.test_no_args 1496s # tmpdir: /tmp/tmp4uv4p6nh 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # Running: ['/usr/bin/glib-genmarshal'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # Output: 1496s ok 4 __main__.TestGenmarshal.test_void_boolean 1496s # tmpdir: /tmp/tmp_y28m8zm 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # /tmp/tmp_y28m8zm/tmp88phovkk.list: VOID:BOOLEAN 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_y28m8zm/tmp88phovkk.list', '--header', '--quiet'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # 1496s # #include 1496s # 1496s # G_BEGIN_DECLS 1496s # 1496s # /* VOID:BOOLEAN (/tmp/tmp_y28m8zm/tmp88phovkk.list:1) */ 1496s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1496s # 1496s # 1496s # G_END_DECLS 1496s # 1496s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_y28m8zm/tmp88phovkk.list', '--body', '--quiet'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #include 1496s # 1496s # #ifdef G_ENABLE_DEBUG 1496s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1496s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1496s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1496s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1496s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1496s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1496s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1496s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1496s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1496s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1496s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1496s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1496s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1496s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1496s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1496s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1496s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1496s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1496s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1496s # #else /* !G_ENABLE_DEBUG */ 1496s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1496s # * Do not access GValues directly in your code. Instead, use the 1496s # * g_value_get_*() functions 1496s # */ 1496s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1496s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1496s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1496s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1496s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1496s # #endif /* !G_ENABLE_DEBUG */ 1496s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1496s # tmpdir: /tmp/tmpo728zs9n 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # /tmp/tmpo728zs9n/tmpui3zflzd.list: VOID:BOOLEAN,INT64 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpo728zs9n/tmpui3zflzd.list', '--header', '--quiet'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # 1496s # #include 1496s # 1496s # G_BEGIN_DECLS 1496s # 1496s # /* VOID:BOOLEAN,INT64 (/tmp/tmpo728zs9n/tmpui3zflzd.list:1) */ 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1496s # GValue *return_value, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint, 1496s # gpointer marshal_data); 1496s # 1496s # 1496s # G_END_DECLS 1496s # 1496s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpo728zs9n/tmpui3zflzd.list', '--body', '--quiet'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #include 1496s # 1496s # #ifdef G_ENABLE_DEBUG 1496s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1496s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1496s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1496s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1496s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1496s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1496s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1496s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1496s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1496s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1496s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1496s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1496s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1496s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1496s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1496s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1496s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1496s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1496s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1496s # #else /* !G_ENABLE_DEBUG */ 1496s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1496s # * Do not access GValues directly in your code. Instead, use the 1496s # * g_value_get_*() functions 1496s # */ 1496s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1496s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1496s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1496s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1496s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1496s # #endif /* !G_ENABLE_DEBUG */ 1496s # 1496s # /* VOID:BOOLEAN,INT64 (/tmp/tmpo728zs9n/tmpui3zflzd.list:1) */ 1496s # void 1496s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint G_GNUC_UNUSED, 1496s # gpointer marshal_data) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1496s # gboolean arg1, 1496s # gint64 arg2, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1496s # 1496s # g_return_if_fail (n_param_values == 3); 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = g_value_peek_pointer (param_values + 0); 1496s # } 1496s # else 1496s # { 1496s # data1 = g_value_peek_pointer (param_values + 0); 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # g_marshal_value_peek_boolean (param_values + 1), 1496s # g_marshal_value_peek_int64 (param_values + 2), 1496s # data2); 1496s # } 1496s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1496s # tmpdir: /tmp/tmp1qj2m7ls 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # /tmp/tmp1qj2m7ls/tmpk5soeuhm.list: VOID:PARAM 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1qj2m7ls/tmpk5soeuhm.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # 1496s # G_BEGIN_DECLS 1496s # 1496s # /* VOID:PARAM (/tmp/tmp1qj2m7ls/tmpk5soeuhm.list:1) */ 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1496s # GValue *return_value, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint, 1496s # gpointer marshal_data); 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1496s # GValue *return_value, 1496s # gpointer instance, 1496s # va_list args, 1496s # gpointer marshal_data, 1496s # int n_params, 1496s # GType *param_types); 1496s # 1496s # 1496s # G_END_DECLS 1496s # 1496s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1qj2m7ls/tmpk5soeuhm.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifdef G_ENABLE_DEBUG 1496s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1496s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1496s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1496s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1496s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1496s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1496s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1496s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1496s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1496s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1496s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1496s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1496s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1496s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1496s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1496s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1496s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1496s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1496s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1496s # #else /* !G_ENABLE_DEBUG */ 1496s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1496s # * Do not access GValues directly in your code. Instead, use the 1496s # * g_value_get_*() functions 1496s # */ 1496s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1496s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1496s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1496s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1496s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1496s # #endif /* !G_ENABLE_DEBUG */ 1496s # 1496s # /* VOID:PARAM (/tmp/tmp1qj2m7ls/tmpk5soeuhm.list:1) */ 1496s # void 1496s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint G_GNUC_UNUSED, 1496s # gpointer marshal_data) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1496s # gpointer arg1, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__PARAM callback; 1496s # 1496s # g_return_if_fail (n_param_values == 2); 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = g_value_peek_pointer (param_values + 0); 1496s # } 1496s # else 1496s # { 1496s # data1 = g_value_peek_pointer (param_values + 0); 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # g_marshal_value_peek_param (param_values + 1), 1496s # data2); 1496s # } 1496s # 1496s # void 1496s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # gpointer instance, 1496s # va_list args, 1496s # gpointer marshal_data, 1496s # int n_params, 1496s # GType *param_types) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1496s # gpointer arg1, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__PARAM callback; 1496s # gpointer arg0; 1496s # va_list args_copy; 1496s # 1496s # va_copy (args_copy, args); 1496s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1496s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1496s # arg0 = g_param_spec_ref (arg0); 1496s # va_end (args_copy); 1496s # 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = instance; 1496s # } 1496s # else 1496s # { 1496s # data1 = instance; 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # arg0, 1496s # data2); 1496s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1496s # g_param_spec_unref (arg0); 1496s # } 1496s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1496s # tmpdir: /tmp/tmpyo1gsg4z 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # /tmp/tmpyo1gsg4z/tmpvophz4gr.list: VOID:STRING 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpyo1gsg4z/tmpvophz4gr.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # 1496s # G_BEGIN_DECLS 1496s # 1496s # /* VOID:STRING (/tmp/tmpyo1gsg4z/tmpvophz4gr.list:1) */ 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1496s # GValue *return_value, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint, 1496s # gpointer marshal_data); 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1496s # GValue *return_value, 1496s # gpointer instance, 1496s # va_list args, 1496s # gpointer marshal_data, 1496s # int n_params, 1496s # GType *param_types); 1496s # 1496s # 1496s # G_END_DECLS 1496s # 1496s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpyo1gsg4z/tmpvophz4gr.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifdef G_ENABLE_DEBUG 1496s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1496s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1496s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1496s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1496s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1496s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1496s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1496s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1496s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1496s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1496s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1496s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1496s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1496s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1496s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1496s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1496s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1496s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1496s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1496s # #else /* !G_ENABLE_DEBUG */ 1496s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1496s # * Do not access GValues directly in your code. Instead, use the 1496s # * g_value_get_*() functions 1496s # */ 1496s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1496s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1496s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1496s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1496s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1496s # #endif /* !G_ENABLE_DEBUG */ 1496s # 1496s # /* VOID:STRING (/tmp/tmpyo1gsg4z/tmpvophz4gr.list:1) */ 1496s # void 1496s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint G_GNUC_UNUSED, 1496s # gpointer marshal_data) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1496s # gpointer arg1, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__STRING callback; 1496s # 1496s # g_return_if_fail (n_param_values == 2); 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = g_value_peek_pointer (param_values + 0); 1496s # } 1496s # else 1496s # { 1496s # data1 = g_value_peek_pointer (param_values + 0); 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # g_marshal_value_peek_string (param_values + 1), 1496s # data2); 1496s # } 1496s # 1496s # void 1496s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # gpointer instance, 1496s # va_list args, 1496s # gpointer marshal_data, 1496s # int n_params, 1496s # GType *param_types) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1496s # gpointer arg1, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__STRING callback; 1496s # gpointer arg0; 1496s # va_list args_copy; 1496s # 1496s # va_copy (args_copy, args); 1496s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1496s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1496s # arg0 = g_strdup (arg0); 1496s # va_end (args_copy); 1496s # 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = instance; 1496s # } 1496s # else 1496s # { 1496s # data1 = instance; 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # arg0, 1496s # data2); 1496s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1496s # g_free (arg0); 1496s # } 1496s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1496s # tmpdir: /tmp/tmp9jzcz_23 1496s # genmarshal: /usr/bin/glib-genmarshal 1496s # /tmp/tmp9jzcz_23/tmpuqs3fjeq.list: VOID:VARIANT 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9jzcz_23/tmpuqs3fjeq.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1496s # 1496s # G_BEGIN_DECLS 1496s # 1496s # /* VOID:VARIANT (/tmp/tmp9jzcz_23/tmpuqs3fjeq.list:1) */ 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1496s # GValue *return_value, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint, 1496s # gpointer marshal_data); 1496s # extern 1496s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1496s # GValue *return_value, 1496s # gpointer instance, 1496s # va_list args, 1496s # gpointer marshal_data, 1496s # int n_params, 1496s # GType *param_types); 1496s # 1496s # 1496s # G_END_DECLS 1496s # 1496s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1496s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9jzcz_23/tmpuqs3fjeq.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1496s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1496s # 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. */ 1496s # #ifdef G_ENABLE_DEBUG 1496s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1496s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1496s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1496s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1496s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1496s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1496s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1496s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1496s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1496s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1496s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1496s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1496s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1496s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1496s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1496s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1496s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1496s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1496s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1496s # #else /* !G_ENABLE_DEBUG */ 1496s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1496s # * Do not access GValues directly in your code. Instead, use the 1496s # * g_value_get_*() functions 1496s # */ 1496s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1496s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1496s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1496s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1496s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1496s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1496s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1496s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1496s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1496s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1496s # #endif /* !G_ENABLE_DEBUG */ 1496s # 1496s # /* VOID:VARIANT (/tmp/tmp9jzcz_23/tmpuqs3fjeq.list:1) */ 1496s # void 1496s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # guint n_param_values, 1496s # const GValue *param_values, 1496s # gpointer invocation_hint G_GNUC_UNUSED, 1496s # gpointer marshal_data) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1496s # gpointer arg1, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__VARIANT callback; 1496s # 1496s # g_return_if_fail (n_param_values == 2); 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = g_value_peek_pointer (param_values + 0); 1496s # } 1496s # else 1496s # { 1496s # data1 = g_value_peek_pointer (param_values + 0); 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # g_marshal_value_peek_variant (param_values + 1), 1496s # data2); 1496s # } 1496s # 1496s # void 1496s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1496s # GValue *return_value G_GNUC_UNUSED, 1496s # gpointer instance, 1496s # va_list args, 1496s # gpointer marshal_data, 1496s # int n_params, 1496s # GType *param_types) 1496s # { 1496s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1496s # gpointer arg1, 1496s # gpointer data2); 1496s # GCClosure *cc = (GCClosure *) closure; 1496s # gpointer data1, data2; 1496s # GMarshalFunc_VOID__VARIANT callback; 1496s # gpointer arg0; 1496s # va_list args_copy; 1496s # 1496s # va_copy (args_copy, args); 1496s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1496s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1496s # arg0 = g_variant_ref_sink (arg0); 1496s # va_end (args_copy); 1496s # 1496s # 1496s # if (G_CCLOSURE_SWAP_DATA (closure)) 1496s # { 1496s # data1 = closure->data; 1496s # data2 = instance; 1496s # } 1496s # else 1496s # { 1496s # data1 = instance; 1496s # data2 = closure->data; 1496s # } 1496s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1496s # 1496s # callback (data1, 1496s # arg0, 1496s # data2); 1496s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1496s # g_variant_unref (arg0); 1496s # } 1496s 1..8 1496s ok - glib/genmarshal.py.test 1496s # Running test: glib/g-file-info.test 1496s TAP version 13 1496s # random seed: R02S47b60f5bdd23911df88426c06e37660c 1496s 1..6 1496s # Start of g-file-info tests 1496s ok 1 /g-file-info/test_g_file_info 1496s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1496s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1496s ok 2 /g-file-info/xattrs 1496s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1496s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1496s ok 3 /g-file-info/set-modified-date-time-precision 1496s # Start of test_g_file_info tests 1496s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1496s ok 4 /g-file-info/test_g_file_info/modification-time 1496s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1496s ok 5 /g-file-info/test_g_file_info/access-time 1496s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1496s ok 6 /g-file-info/test_g_file_info/creation-time 1496s # End of test_g_file_info tests 1496s # End of g-file-info tests 1496s ok - glib/g-file-info.test 1496s # Running test: glib/value.test 1496s TAP version 13 1496s # random seed: R02S4385c0b162219a8431145d5f4ae7b556 1496s 1..8 1496s # Start of value tests 1496s ok 1 /value/basic 1496s ok 2 /value/collection 1496s ok 3 /value/copying 1496s ok 4 /value/enum-transformation 1496s ok 5 /value/gtype 1496s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1496s ok 6 /value/string 1496s # Next: GObject object in GValue of GObject to GValue of GObject 1496s # Next: GObject object in GValue of GObject to GValue of TestInterface 1496s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1496s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1496s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1496s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1496s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1496s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1496s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1496s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1496s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1496s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1496s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1496s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1496s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1496s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1496s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1496s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1496s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1496s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1496s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1496s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1496s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1496s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1496s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1496s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1496s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1496s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1496s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1496s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1496s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1496s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1496s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1496s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1496s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1496s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1496s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1496s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1496s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1496s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1496s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1496s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1496s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1496s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1496s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1496s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1496s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1496s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1496s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1496s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1496s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1496s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1496s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1496s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1496s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1496s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1496s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1496s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1496s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1496s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1496s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1496s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1496s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1496s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1496s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1496s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1496s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1496s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1496s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1496s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1496s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1496s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1496s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1496s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1496s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1496s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1496s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1496s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1496s ok 7 /value/transform-object 1496s # Start of array tests 1496s ok 8 /value/array/basic 1496s # End of array tests 1496s # End of value tests 1496s ok - glib/value.test 1496s # Running test: glib/gutils-user-database.test 1496s TAP version 13 1496s # random seed: R02Sfd307f56b2a35429aebd622f4fb683e7 1496s 1..1 1496s # Start of gutils tests 1496s ok 1 /gutils/get_user_database_entry 1496s # End of gutils tests 1496s ok - glib/gutils-user-database.test 1497s # Running test: glib/memory-input-stream.test 1497s TAP version 13 1497s # random seed: R02Sd1b46033ecb329602feba358a3826099 1497s 1..6 1497s # Start of memory-input-stream tests 1497s ok 1 /memory-input-stream/read-chunks 1497s ok 2 /memory-input-stream/async 1497s ok 3 /memory-input-stream/seek 1497s ok 4 /memory-input-stream/truncate 1497s ok 5 /memory-input-stream/read-bytes 1497s ok 6 /memory-input-stream/from-bytes 1497s # End of memory-input-stream tests 1497s ok - glib/memory-input-stream.test 1497s # Running test: glib/task.test 1497s TAP version 13 1497s # random seed: R02Sfae7375c968adfbe6a10efd3fdc95426 1497s 1..36 1497s # Start of gtask tests 1497s ok 1 /gtask/basic 1497s ok 2 /gtask/error 1497s ok 3 /gtask/error-literal 1497s ok 4 /gtask/error-literal-from-variable 1497s ok 5 /gtask/return-from-same-iteration 1497s ok 6 /gtask/return-from-toplevel 1497s ok 7 /gtask/return-from-anon-thread 1497s ok 8 /gtask/return-from-wrong-thread 1497s ok 9 /gtask/no-callback 1497s ok 10 /gtask/report-error 1497s ok 11 /gtask/priority 1497s ok 12 /gtask/name 1497s ok 13 /gtask/static-name 1497s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1497s ok 14 /gtask/asynchronous-cancellation 1497s ok 15 /gtask/check-cancellable 1497s ok 16 /gtask/return-if-cancelled 1497s ok 17 /gtask/run-in-thread 1497s ok 18 /gtask/run-in-thread-sync 1497s ok 19 /gtask/run-in-thread-priority 1497s ok 20 /gtask/run-in-thread-nested 1497s # Executing: glib/task.test 1497s ok 21 /gtask/run-in-thread-overflow 1497s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1497s # GLib-GIO-DEBUG: GTask 0x97fc35c2d90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1497s # GLib-GIO-DEBUG: GTask 0x97fc35c3220 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1497s ok 22 /gtask/return-on-cancel 1497s # GLib-GIO-DEBUG: GTask 0x97fc35c2c90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1497s # GLib-GIO-DEBUG: GTask 0x97fc35c3320 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1497s ok 23 /gtask/return-on-cancel-sync 1497s ok 24 /gtask/return-on-cancel-atomic 1497s ok 25 /gtask/return-pointer 1497s ok 26 /gtask/return-value 1497s ok 27 /gtask/return-prefixed-error 1497s ok 28 /gtask/object-keepalive 1497s ok 29 /gtask/legacy-error 1497s ok 30 /gtask/finalize-without-return 1497s # Start of name tests 1497s ok 31 /gtask/name/macro-wrapper 1497s # End of name tests 1497s # Start of return tests 1497s ok 32 /gtask/return/error-first 1497s ok 33 /gtask/return/value-first 1497s # Start of in-idle tests 1497s ok 34 /gtask/return/in-idle/error-first 1497s ok 35 /gtask/return/in-idle/value-first 1497s # End of in-idle tests 1497s # End of return tests 1497s # Start of attach-source tests 1497s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1497s ok 36 /gtask/attach-source/set-name 1497s # End of attach-source tests 1497s # End of gtask tests 1497s ok - glib/task.test 1497s # Running test: glib/gdbus-address-get-session.test 1498s TAP version 13 1498s # random seed: R02Se2a676757455b23c62f67334d7ddecad 1498s 1..2 1498s # Start of gdbus tests 1498s ok 1 /gdbus/x11-autolaunch 1498s ok 2 /gdbus/xdg-runtime 1498s # End of gdbus tests 1498s ok - glib/gdbus-address-get-session.test 1498s # Running test: glib/vfs.test 1498s TAP version 13 1498s # random seed: R02S99c07b7d1f815af7495933e6a5ba3e78 1498s 1..3 1498s # Start of gvfs tests 1498s ok 1 /gvfs/local 1498s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1498s ok 2 /gvfs/register-scheme 1498s # Start of resource tests 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1498s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1498s ok 3 /gvfs/resource/malformed-escaping 1498s # End of resource tests 1498s # End of gvfs tests 1498s ok - glib/vfs.test 1498s # Running test: glib/memory-monitor-dbus.test 1498s TAP version 13 1498s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1498s 1..1 1498s ok - glib/memory-monitor-dbus.test 1498s # Running test: glib/tls-bindings.test 1498s TAP version 13 1498s # random seed: R02S65467b8e50462b18e072e35eeb86bd84 1498s 1..2 1498s # Start of tls-connection tests 1498s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1498s ok 1 /tls-connection/get-tls-channel-binding 1498s ok 2 /tls-connection/get-dtls-channel-binding 1498s # End of tls-connection tests 1498s ok - glib/tls-bindings.test 1498s # Running test: glib/unix-fd.test 1498s TAP version 13 1498s # random seed: R02S425b57f02782b40ff12019fc6a13cefb 1498s 1..2 1498s # Start of unix-fd tests 1498s ok 1 /unix-fd/fd-list 1498s ok 2 /unix-fd/scm 1498s # End of unix-fd tests 1498s ok - glib/unix-fd.test 1498s # Running test: glib/contexts.test 1498s TAP version 13 1498s # random seed: R02S57f1085b612285d8cbd10b313f5879db 1498s 1..5 1498s # Start of gio tests 1498s # Start of contexts tests 1498s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1498s ok 1 /gio/contexts/thread-independence 1498s ok 2 /gio/contexts/context-independence 1498s # Start of context-specific tests 1498s ok 3 /gio/contexts/context-specific/identity 1498s ok 4 /gio/contexts/context-specific/emit 1498s ok 5 /gio/contexts/context-specific/emit-and-unref 1498s # End of context-specific tests 1498s # End of contexts tests 1498s # End of gio tests 1498s ok - glib/contexts.test 1498s # Running test: glib/utils.test 1498s TAP version 13 1498s # random seed: R02Sdfbd578fac0511c8f7026d18240f4d69 1498s 1..40 1498s # Start of utils tests 1498s ok 1 /utils/language-names 1498s ok 2 /utils/locale-variants 1498s ok 3 /utils/version 1498s ok 4 /utils/appname 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1498s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1498s ok 5 /utils/prgname-thread-safety 1498s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1498s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1498s ok 6 /utils/tmpdir 1498s ok 7 /utils/basic_bits 1498s ok 8 /utils/bits 1498s ok 9 /utils/swap 1498s ok 10 /utils/find-program 1498s ok 11 /utils/find-program-for-path 1498s ok 12 /utils/debug 1498s ok 13 /utils/codeset 1498s ok 14 /utils/codeset2 1498s ok 15 /utils/console-charset 1498s ok 16 /utils/gettext 1498s ok 17 /utils/username 1498s ok 18 /utils/realname 1498s ok 19 /utils/hostname 1498s ok 20 /utils/xdgdirs 1498s ok 21 /utils/specialdir 1498s # NAME: Ubuntu 1498s ok 22 /utils/os-info 1498s ok 23 /utils/clear-pointer 1498s ok 24 /utils/clear-pointer-cast 1498s ok 25 /utils/take-pointer 1498s ok 26 /utils/clear-source 1498s ok 27 /utils/misc-mem 1498s # /utils/aligned-mem summary: Aligned memory allocator 1498s # Alignment must not be zero 1498s # Alignment must be a power of two 1498s # Alignment must be a multiple of sizeof(void*) 1498s ok 28 /utils/aligned-mem 1498s # /utils/free-sized summary: Check that g_free_sized() works 1498s ok 29 /utils/free-sized 1498s ok 30 /utils/nullify 1498s ok 31 /utils/atexit 1498s ok 32 /utils/check-setuid 1498s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1498s ok 33 /utils/int-limits 1498s ok 34 /utils/clear-list 1498s ok 35 /utils/clear-slist 1498s # Start of specialdir tests 1498s ok 36 /utils/specialdir/desktop 1498s # End of specialdir tests 1498s # Start of clear-pointer tests 1498s ok 37 /utils/clear-pointer/side-effects 1498s # End of clear-pointer tests 1498s # Start of aligned-mem tests 1498s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1498s ok 38 /utils/aligned-mem/alignment 1498s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1498s ok 39 /utils/aligned-mem/zeroed 1498s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1498s ok 40 /utils/aligned-mem/free-sized 1498s # Start of subprocess tests 1498s # End of subprocess tests 1498s # End of aligned-mem tests 1498s # End of utils tests 1498s ok - glib/utils.test 1498s # Running test: glib/power-profile-monitor-portal.test 1498s TAP version 13 1498s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1498s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1498s 1..2 1498s ok - glib/power-profile-monitor-portal.test 1498s # Running test: glib/atomic-c-90.test 1499s TAP version 13 1499s # random seed: R02Sd0b36b12d51681c04be61a0bc7b45586 1499s 1..2 1499s # Start of atomic tests 1499s ok 1 /atomic/types 1499s ok 2 /atomic/threaded 1499s # End of atomic tests 1499s ok - glib/atomic-c-90.test 1499s # Running test: glib/utf8-misc.test 1499s TAP version 13 1499s # random seed: R02S78df893a8836afa7deaca2eed1974d9e 1499s 1..7 1499s # Start of utf8 tests 1499s ok 1 /utf8/strlen 1499s ok 2 /utf8/strncpy 1499s ok 3 /utf8/strrchr 1499s ok 4 /utf8/reverse 1499s ok 5 /utf8/substring 1499s ok 6 /utf8/make-valid 1499s ok 7 /utf8/truncate-middle 1499s # End of utf8 tests 1499s ok - glib/utf8-misc.test 1499s # Running test: glib/mapping.test 1499s TAP version 13 1499s # random seed: R02S64a8e916d4536a3d7d3aeddd76702a02 1499s 1..3 1499s # Start of mapping tests 1499s # test_mapping: ok 1499s ok 1 /mapping/flags 1499s ok 2 /mapping/private 1499s # Subtest: /usr/libexec/installed-tests/glib/mapping 1499s # test_child_private: child spawned 1499s # # random seed: R02Sa0ea177e99d3c45bdfc7c35c9e39f7ae 1499s # test_child_private: received first child signal 1499s # # test_child_private: received parent signal 1499s # test_child_private: received second child signal 1499s ok 3 /mapping/private-child 1499s # End of mapping tests 1499s ok - glib/mapping.test 1499s # Running test: glib/deprecated-properties.test 1499s TAP version 13 1499s # random seed: R02S4009b7609f52124f41d583bf35d59c58 1499s 1..3 1499s # Start of deprecated-properties tests 1499s ok 1 /deprecated-properties/construct 1499s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1499s ok 2 /deprecated-properties/default-construct 1499s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1499s ok 3 /deprecated-properties/set 1499s # End of deprecated-properties tests 1499s ok - glib/deprecated-properties.test 1499s # Running test: glib/signalgroup.test 1499s TAP version 13 1499s # random seed: R02Sce6e3cfeaba3cdf5427b8f037b243e49 1499s 1..9 1499s # Start of GObject tests 1499s # Start of SignalGroup tests 1499s ok 1 /GObject/SignalGroup/invalid 1499s ok 2 /GObject/SignalGroup/simple 1499s ok 3 /GObject/SignalGroup/changing-target 1499s ok 4 /GObject/SignalGroup/blocking 1499s ok 5 /GObject/SignalGroup/weak-ref-target 1499s ok 6 /GObject/SignalGroup/connect-object 1499s ok 7 /GObject/SignalGroup/signal-parsing 1499s ok 8 /GObject/SignalGroup/properties 1499s ok 9 /GObject/SignalGroup/interface 1499s # Start of signal-parsing tests 1499s # End of signal-parsing tests 1499s # End of SignalGroup tests 1499s # End of GObject tests 1499s ok - glib/signalgroup.test 1499s # Running test: glib/utils-c-11.test 1499s TAP version 13 1499s # random seed: R02S2d4444b9c79a691465a8273591760597 1499s 1..40 1499s # Start of utils tests 1499s ok 1 /utils/language-names 1499s ok 2 /utils/locale-variants 1499s ok 3 /utils/version 1499s ok 4 /utils/appname 1499s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1499s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1499s ok 5 /utils/prgname-thread-safety 1499s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1499s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1499s ok 6 /utils/tmpdir 1499s ok 7 /utils/basic_bits 1499s ok 8 /utils/bits 1499s ok 9 /utils/swap 1499s ok 10 /utils/find-program 1499s ok 11 /utils/find-program-for-path 1499s ok 12 /utils/debug 1499s ok 13 /utils/codeset 1499s ok 14 /utils/codeset2 1499s ok 15 /utils/console-charset 1499s ok 16 /utils/gettext 1499s ok 17 /utils/username 1499s ok 18 /utils/realname 1499s ok 19 /utils/hostname 1499s ok 20 /utils/xdgdirs 1499s ok 21 /utils/specialdir 1499s # NAME: Ubuntu 1499s ok 22 /utils/os-info 1499s ok 23 /utils/clear-pointer 1499s ok 24 /utils/clear-pointer-cast 1499s ok 25 /utils/take-pointer 1499s ok 26 /utils/clear-source 1499s ok 27 /utils/misc-mem 1499s # /utils/aligned-mem summary: Aligned memory allocator 1499s # Alignment must not be zero 1499s # Alignment must be a power of two 1499s # Alignment must be a multiple of sizeof(void*) 1499s ok 28 /utils/aligned-mem 1499s # /utils/free-sized summary: Check that g_free_sized() works 1499s ok 29 /utils/free-sized 1499s ok 30 /utils/nullify 1499s ok 31 /utils/atexit 1499s ok 32 /utils/check-setuid 1499s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1499s ok 33 /utils/int-limits 1499s ok 34 /utils/clear-list 1499s ok 35 /utils/clear-slist 1499s # Start of specialdir tests 1499s ok 36 /utils/specialdir/desktop 1499s # End of specialdir tests 1499s # Start of clear-pointer tests 1499s ok 37 /utils/clear-pointer/side-effects 1499s # End of clear-pointer tests 1499s # Start of aligned-mem tests 1499s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1499s ok 38 /utils/aligned-mem/alignment 1499s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1499s ok 39 /utils/aligned-mem/zeroed 1499s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1499s ok 40 /utils/aligned-mem/free-sized 1499s # Start of subprocess tests 1499s # End of subprocess tests 1499s # End of aligned-mem tests 1499s # End of utils tests 1499s ok - glib/utils-c-11.test 1499s # Running test: glib/memchunk.test 1499s TAP version 13 1499s # random seed: R02Sda997634afd9a00dcc1722778fc896e0 1499s 1..1 1499s # Start of memchunk tests 1499s ok 1 /memchunk/basic 1499s # End of memchunk tests 1499s ok - glib/memchunk.test 1499s # Running test: glib/tls-certificate.test 1499s TAP version 13 1499s # random seed: R02S7136fb704f671b0596d394abfb734141 1499s 1..19 1499s # Start of tls-certificate tests 1499s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1499s ok 1 /tls-certificate/pem-parser 1499s ok 2 /tls-certificate/pem-parser-handles-chain 1499s ok 3 /tls-certificate/from_file 1499s ok 4 /tls-certificate/from_files 1499s ok 5 /tls-certificate/from_files_crlf 1499s ok 6 /tls-certificate/from_files_pkcs8 1499s ok 7 /tls-certificate/from_files_pkcs8enc 1499s ok 8 /tls-certificate/list_from_file 1499s ok 9 /tls-certificate/pkcs11-uri 1499s ok 10 /tls-certificate/pkcs11-uri-unsupported 1499s ok 11 /tls-certificate/from_pkcs12 1499s ok 12 /tls-certificate/from_pkcs12_file 1499s ok 13 /tls-certificate/not-valid-before 1499s ok 14 /tls-certificate/not-valid-after 1499s ok 15 /tls-certificate/subject-name 1499s ok 16 /tls-certificate/issuer-name 1499s ok 17 /tls-certificate/dns-names 1499s ok 18 /tls-certificate/ip-addresses 1499s ok 19 /tls-certificate/pem-parser-no-sentinel 1499s # End of tls-certificate tests 1499s ok - glib/tls-certificate.test 1499s # Running test: glib/sort.test 1499s TAP version 13 1499s # random seed: R02S4a9d1e4c1c858ce8d2a394b55806deb2 1499s 1..4 1499s # Start of sort tests 1499s ok 1 /sort/basic 1499s ok 2 /sort/zero-elements 1499s ok 3 /sort/stable 1499s ok 4 /sort/big 1499s # End of sort tests 1499s ok - glib/sort.test 1499s # Running test: glib/hash.test 1499s TAP version 13 1499s # random seed: R02Sc6d3932a3a677f9d0aa66e8cf203ad00 1499s 1..34 1499s # Start of hash tests 1499s ok 1 /hash/misc 1499s ok 2 /hash/one 1499s ok 3 /hash/honeyman 1499s ok 4 /hash/direct 1499s ok 5 /hash/direct2 1499s ok 6 /hash/int 1499s ok 7 /hash/int64 1499s ok 8 /hash/double 1499s ok 9 /hash/string 1499s ok 10 /hash/set 1499s ok 11 /hash/set-ref 1499s ok 12 /hash/ref 1499s ok 13 /hash/remove-all 1499s ok 14 /hash/recursive-remove-all 1499s ok 15 /hash/find 1499s ok 16 /hash/foreach 1499s ok 17 /hash/foreach-steal 1499s ok 18 /hash/steal-extended 1499s ok 19 /hash/steal-all-keys 1499s ok 20 /hash/steal-all-values 1499s ok 21 /hash/lookup-extended 1499s ok 22 /hash/new-similar 1499s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1499s ok 23 /hash/lookup-null-key 1499s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1499s ok 24 /hash/destroy-modify 1499s ok 25 /hash/consistency 1499s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1499s ok 26 /hash/iter-replace 1499s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1499s ok 27 /hash/set-insert-corruption 1499s ok 28 /hash/set-to-strv 1499s ok 29 /hash/get-keys-as-ptr-array 1499s ok 30 /hash/get-values-as-ptr-array 1499s ok 31 /hash/primes 1499s # Start of int64 tests 1499s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1499s ok 32 /hash/int64/collisions 1499s # End of int64 tests 1499s # Start of double tests 1499s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1499s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1499s ok 33 /hash/double/collisions 1499s # End of double tests 1499s # Start of recursive-remove-all tests 1499s # End of recursive-remove-all tests 1499s # Start of steal-extended tests 1499s ok 34 /hash/steal-extended/optional 1499s # End of steal-extended tests 1499s # End of hash tests 1499s ok - glib/hash.test 1499s # Running test: glib/power-profile-monitor.test 1499s TAP version 13 1499s # random seed: R02Sa1df9b0184c33547ac2e24de0604e2f7 1499s 1..1 1499s # Start of power-profile-monitor tests 1499s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1499s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1499s ok 1 /power-profile-monitor/default 1499s # End of power-profile-monitor tests 1499s ok - glib/power-profile-monitor.test 1499s # Running test: glib/mkenums.py.test 1499s TAP version 13 1499s ok 1 __main__.TestMkenums.test_available_in 1499s # tmpdir: /tmp/tmp31vfj84h 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmp31vfj84h/tmpjgth12wl.h: 1499s # typedef enum { 1499s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1499s # } GDBusServerFlags; 1499s # 1499s # /tmp/tmp31vfj84h/tmp_69zkfar.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp31vfj84h/tmp_69zkfar.template', '/tmp/tmp31vfj84h/tmpjgth12wl.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmp31vfj84h/tmpjgth12wl.h 1499s # basename: tmpjgth12wl.h 1499s # enumeration-production 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-header 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-production 1499s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1499s # valuenick: user 1499s # valuenum: 4 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-tail 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1499s # tmpdir: /tmp/tmpsq27ys7u 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpsq27ys7u/tmp_5v_k2ge.h: 1499s # typedef enum { 1499s # ENUM_VALUE_WITH_COMMA = ',', 1499s # } TestCommaEnum; 1499s # 1499s # /tmp/tmpsq27ys7u/tmpqqkdn8gu.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsq27ys7u/tmpqqkdn8gu.template', '/tmp/tmpsq27ys7u/tmp_5v_k2ge.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmpsq27ys7u/tmp_5v_k2ge.h 1499s # basename: tmp_5v_k2ge.h 1499s # enumeration-production 1499s # EnumName: TestCommaEnum 1499s # enum_name: test_comma_enum 1499s # ENUMNAME: TEST_COMMA_ENUM 1499s # ENUMSHORT: COMMA_ENUM 1499s # ENUMPREFIX: TEST 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-header 1499s # EnumName: TestCommaEnum 1499s # enum_name: test_comma_enum 1499s # ENUMNAME: TEST_COMMA_ENUM 1499s # ENUMSHORT: COMMA_ENUM 1499s # ENUMPREFIX: TEST 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-production 1499s # VALUENAME: ENUM_VALUE_WITH_COMMA 1499s # valuenick: comma 1499s # valuenum: 44 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-tail 1499s # EnumName: TestCommaEnum 1499s # enum_name: test_comma_enum 1499s # ENUMNAME: TEST_COMMA_ENUM 1499s # ENUMSHORT: COMMA_ENUM 1499s # ENUMPREFIX: TEST 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 3 __main__.TestMkenums.test_deprecated_in 1499s # tmpdir: /tmp/tmpjno4lo_1 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpjno4lo_1/tmprrmddp4m.h: 1499s # typedef enum { 1499s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1499s # } GDBusServerFlags; 1499s # 1499s # /tmp/tmpjno4lo_1/tmp01atolct.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjno4lo_1/tmp01atolct.template', '/tmp/tmpjno4lo_1/tmprrmddp4m.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmpjno4lo_1/tmprrmddp4m.h 1499s # basename: tmprrmddp4m.h 1499s # enumeration-production 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-header 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-production 1499s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1499s # valuenick: user 1499s # valuenum: 4 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-tail 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 4 __main__.TestMkenums.test_deprecated_in_for 1499s # tmpdir: /tmp/tmpll3ve_7s 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpll3ve_7s/tmpo6i5a8sp.h: 1499s # typedef enum { 1499s # 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) 1499s # } GDBusServerFlags; 1499s # 1499s # /tmp/tmpll3ve_7s/tmpsyo2ymnr.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpll3ve_7s/tmpsyo2ymnr.template', '/tmp/tmpll3ve_7s/tmpo6i5a8sp.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmpll3ve_7s/tmpo6i5a8sp.h 1499s # basename: tmpo6i5a8sp.h 1499s # enumeration-production 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-header 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-production 1499s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1499s # valuenick: user 1499s # valuenum: 4 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # value-tail 1499s # EnumName: GDBusServerFlags 1499s # enum_name: g_dbus_server_flags 1499s # ENUMNAME: G_DBUS_SERVER_FLAGS 1499s # ENUMSHORT: DBUS_SERVER_FLAGS 1499s # ENUMPREFIX: G 1499s # enumsince: 1499s # type: flags 1499s # Type: Flags 1499s # TYPE: FLAGS 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 5 __main__.TestMkenums.test_empty_header 1499s # tmpdir: /tmp/tmpt1mo2tnu 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpt1mo2tnu/tmpb95k2vp9.h: 1499s # /tmp/tmpt1mo2tnu/tmphl1plylj.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt1mo2tnu/tmphl1plylj.template', '/tmp/tmpt1mo2tnu/tmpb95k2vp9.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 6 __main__.TestMkenums.test_empty_template 1499s # tmpdir: /tmp/tmpwhhzqmsh 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpwhhzqmsh/tmpkv_xiqoq.template: 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwhhzqmsh/tmpkv_xiqoq.template'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # 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. */ 1499s # 1499s # 1499s # /* Generated data ends here */ 1499s ok 7 __main__.TestMkenums.test_enum_name 1499s # tmpdir: /tmp/tmpb2ksmczt 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpb2ksmczt/tmp_ybnmy6w.h: 1499s # typedef enum _SomeEnumIdentifier { 1499s # ENUM_VALUE 1499s # } SomeEnumIdentifier; 1499s # 1499s # /tmp/tmpb2ksmczt/tmpu7o8fwfd.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb2ksmczt/tmpu7o8fwfd.template', '/tmp/tmpb2ksmczt/tmp_ybnmy6w.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmpb2ksmczt/tmp_ybnmy6w.h 1499s # basename: tmp_ybnmy6w.h 1499s # enumeration-production 1499s # EnumName: SomeEnumIdentifier 1499s # enum_name: some_enum_identifier 1499s # ENUMNAME: SOME_ENUM_IDENTIFIER 1499s # ENUMSHORT: ENUM_IDENTIFIER 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-header 1499s # EnumName: SomeEnumIdentifier 1499s # enum_name: some_enum_identifier 1499s # ENUMNAME: SOME_ENUM_IDENTIFIER 1499s # ENUMSHORT: ENUM_IDENTIFIER 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-production 1499s # VALUENAME: ENUM_VALUE 1499s # valuenick: value 1499s # valuenum: 0 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-tail 1499s # EnumName: SomeEnumIdentifier 1499s # enum_name: some_enum_identifier 1499s # ENUMNAME: SOME_ENUM_IDENTIFIER 1499s # ENUMSHORT: ENUM_IDENTIFIER 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 8 __main__.TestMkenums.test_enum_private_public 1499s # tmpdir: /tmp/tmp215hokrx 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmp215hokrx/tmp9zxskjoo.h: 1499s # typedef enum { 1499s # ENUM_VALUE_PUBLIC1, 1499s # /*< private >*/ 1499s # ENUM_VALUE_PRIVATE, 1499s # } SomeEnumA 1499s # 1499s # /tmp/tmp215hokrx/tmp4usmd6zw.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp215hokrx/tmp4usmd6zw.template', '/tmp/tmp215hokrx/tmp9zxskjoo.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmp215hokrx/tmp9zxskjoo.h 1499s # basename: tmp9zxskjoo.h 1499s # enumeration-production 1499s # EnumName: SomeEnumA 1499s # enum_name: some_enum_a 1499s # ENUMNAME: SOME_ENUM_A 1499s # ENUMSHORT: ENUM_A 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-header 1499s # EnumName: SomeEnumA 1499s # enum_name: some_enum_a 1499s # ENUMNAME: SOME_ENUM_A 1499s # ENUMSHORT: ENUM_A 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-production 1499s # VALUENAME: ENUM_VALUE_PUBLIC1 1499s # valuenick: public1 1499s # valuenum: 0 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-tail 1499s # EnumName: SomeEnumA 1499s # enum_name: some_enum_a 1499s # ENUMNAME: SOME_ENUM_A 1499s # ENUMSHORT: ENUM_A 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s # /tmp/tmp215hokrx/tmp16iptdqw.h: 1499s # typedef enum { 1499s # /*< private >*/ 1499s # ENUM_VALUE_PRIVATE, 1499s # /*< public >*/ 1499s # ENUM_VALUE_PUBLIC2, 1499s # } SomeEnumB; 1499s # 1499s # /tmp/tmp215hokrx/tmp12lp35dc.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp215hokrx/tmp12lp35dc.template', '/tmp/tmp215hokrx/tmp16iptdqw.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmp215hokrx/tmp16iptdqw.h 1499s # basename: tmp16iptdqw.h 1499s # enumeration-production 1499s # EnumName: SomeEnumB 1499s # enum_name: some_enum_b 1499s # ENUMNAME: SOME_ENUM_B 1499s # ENUMSHORT: ENUM_B 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-header 1499s # EnumName: SomeEnumB 1499s # enum_name: some_enum_b 1499s # ENUMNAME: SOME_ENUM_B 1499s # ENUMSHORT: ENUM_B 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-production 1499s # VALUENAME: ENUM_VALUE_PUBLIC2 1499s # valuenick: public2 1499s # valuenum: 1 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-tail 1499s # EnumName: SomeEnumB 1499s # enum_name: some_enum_b 1499s # ENUMNAME: SOME_ENUM_B 1499s # ENUMSHORT: ENUM_B 1499s # ENUMPREFIX: SOME 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1499s # tmpdir: /tmp/tmpw4wvof54 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpw4wvof54/tmpv3_lj05e.h: 1499s # typedef enum { 1499s # /*< private >*/ 1499s # ENUM_VALUE_PRIVATE = 5, 1499s # /*< public >*/ 1499s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1499s # } TestSymbolicEnum; 1499s # 1499s # /tmp/tmpw4wvof54/tmpwh3mh55m.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpw4wvof54/tmpwh3mh55m.template', '/tmp/tmpw4wvof54/tmpv3_lj05e.h'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-production 1499s # filename: /tmp/tmpw4wvof54/tmpv3_lj05e.h 1499s # basename: tmpv3_lj05e.h 1499s # enumeration-production 1499s # EnumName: TestSymbolicEnum 1499s # enum_name: test_symbolic_enum 1499s # ENUMNAME: TEST_SYMBOLIC_ENUM 1499s # ENUMSHORT: SYMBOLIC_ENUM 1499s # ENUMPREFIX: TEST 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-header 1499s # EnumName: TestSymbolicEnum 1499s # enum_name: test_symbolic_enum 1499s # ENUMNAME: TEST_SYMBOLIC_ENUM 1499s # ENUMSHORT: SYMBOLIC_ENUM 1499s # ENUMPREFIX: TEST 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-production 1499s # VALUENAME: ENUM_VALUE_PUBLIC 1499s # valuenick: public 1499s # valuenum: 7 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # value-tail 1499s # EnumName: TestSymbolicEnum 1499s # enum_name: test_symbolic_enum 1499s # ENUMNAME: TEST_SYMBOLIC_ENUM 1499s # ENUMSHORT: SYMBOLIC_ENUM 1499s # ENUMPREFIX: TEST 1499s # enumsince: 1499s # type: enum 1499s # Type: Enum 1499s # TYPE: ENUM 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1499s # tmpdir: /tmp/tmpxvvxm7vl 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpxvvxm7vl/tmphmb7p0nm.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-tail ***/ 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxvvxm7vl/tmphmb7p0nm.template'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # file-tail 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # 1499s # comment 1499s # comment: Generated data ends here 1499s ok 11 __main__.TestMkenums.test_help 1499s # tmpdir: /tmp/tmpjs55yu65 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # Running: ['/usr/bin/glib-mkenums', '--help'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1499s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1499s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1499s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1499s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1499s # [--output OUTPUT] [--version] 1499s # [args ...] 1499s # 1499s # positional arguments: 1499s # args One or more input files, or a single argument 1499s # @rspfile_path pointing to a file that contains the 1499s # actual arguments 1499s # 1499s # options: 1499s # -h, --help show this help message and exit 1499s # --identifier-prefix IDPREFIX 1499s # Identifier prefix 1499s # --symbol-prefix SYMPREFIX 1499s # Symbol prefix 1499s # --fhead FHEAD Output file header 1499s # --ftail FTAIL Output file footer 1499s # --fprod FPROD Put out TEXT every time a new input file is being 1499s # processed. 1499s # --eprod EPROD Per enum text, produced prior to value iterations 1499s # --vhead VHEAD Value header, produced before iterating over enum 1499s # values 1499s # --vprod VPROD Value text, produced for each enum value. 1499s # --vtail VTAIL Value tail, produced after iterating over enum values 1499s # --comments COMMENT_TMPL 1499s # Comment structure 1499s # --template TEMPLATE Template file 1499s # --output OUTPUT 1499s # --version, -v Print version information 1499s # 1499s # Production text substitutions: 1499s # @EnumName@ PrefixTheXEnum 1499s # @enum_name@ prefix_the_xenum 1499s # @ENUMNAME@ PREFIX_THE_XENUM 1499s # @ENUMSHORT@ THE_XENUM 1499s # @ENUMPREFIX@ PREFIX 1499s # @enumsince@ the user-provided since value given 1499s # @VALUENAME@ PREFIX_THE_XVALUE 1499s # @valuenick@ the-xvalue 1499s # @valuenum@ the integer value (limited support, Since: 2.26) 1499s # @type@ either enum or flags 1499s # @Type@ either Enum or Flags 1499s # @TYPE@ either ENUM or FLAGS 1499s # @filename@ name of current input file 1499s # @basename@ base name of the current input file (Since: 2.22) 1499s ok 12 __main__.TestMkenums.test_no_args 1499s # tmpdir: /tmp/tmpb2k00fed 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # Running: ['/usr/bin/glib-mkenums'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # 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. */ 1499s # 1499s # 1499s # /* Generated data ends here */ 1499s ok 13 __main__.TestMkenums.test_no_headers 1499s # tmpdir: /tmp/tmpzun6b6aj 1499s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1499s # /tmp/tmpzun6b6aj/tmp3hrxspmw.template: 1499s # /*** BEGIN file-header ***/ 1499s # file-header 1499s # /*** END file-header ***/ 1499s # 1499s # /*** BEGIN file-production ***/ 1499s # file-production 1499s # filename: @filename@ 1499s # basename: @basename@ 1499s # /*** END file-production ***/ 1499s # 1499s # /*** BEGIN enumeration-production ***/ 1499s # enumeration-production 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END enumeration-production ***/ 1499s # 1499s # /*** BEGIN value-header ***/ 1499s # value-header 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-header ***/ 1499s # 1499s # /*** BEGIN value-production ***/ 1499s # value-production 1499s # VALUENAME: @VALUENAME@ 1499s # valuenick: @valuenick@ 1499s # valuenum: @valuenum@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-production ***/ 1499s # 1499s # /*** BEGIN value-tail ***/ 1499s # value-tail 1499s # EnumName: @EnumName@ 1499s # enum_name: @enum_name@ 1499s # ENUMNAME: @ENUMNAME@ 1499s # ENUMSHORT: @ENUMSHORT@ 1499s # ENUMPREFIX: @ENUMPREFIX@ 1499s # enumsince: @enumsince@ 1499s # type: @type@ 1499s # Type: @Type@ 1499s # TYPE: @TYPE@ 1499s # /*** END value-tail ***/ 1499s # 1499s # /*** BEGIN comment ***/ 1499s # comment 1499s # comment: @comment@ 1499s # /*** END comment ***/ 1499s # 1499s # /*** BEGIN file-tail ***/ 1499s # file-tail 1499s # /*** END file-tail ***/ 1499s # 1499s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzun6b6aj/tmp3hrxspmw.template'] 1499s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1499s # Output: comment 1499s # 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. 1499s # 1499s # 1499s # file-header 1499s # file-tail 1499s # 1499s # comment 1499s # comment: Generated data ends here 1500s ok 14 __main__.TestMkenums.test_no_nick 1500s # tmpdir: /tmp/tmpbu3n3a4g 1500s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpbu3n3a4g/tmp7mxvw4hc.h: 1500s # typedef enum { 1500s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1500s # } GeglSamplerType; 1500s # 1500s # /tmp/tmpbu3n3a4g/tmp3gq_ehz3.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbu3n3a4g/tmp3gq_ehz3.template', '/tmp/tmpbu3n3a4g/tmp7mxvw4hc.h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpbu3n3a4g/tmp7mxvw4hc.h 1500s # basename: tmp7mxvw4hc.h 1500s # enumeration-production 1500s # EnumName: GeglSamplerType 1500s # enum_name: gegl_sampler_type 1500s # ENUMNAME: GEGL_SAMPLER_TYPE 1500s # ENUMSHORT: SAMPLER_TYPE 1500s # ENUMPREFIX: GEGL 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: GeglSamplerType 1500s # enum_name: gegl_sampler_type 1500s # ENUMNAME: GEGL_SAMPLER_TYPE 1500s # ENUMSHORT: SAMPLER_TYPE 1500s # ENUMPREFIX: GEGL 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: GEGL_SAMPLER_NEAREST 1500s # valuenick: nearest 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: GeglSamplerType 1500s # enum_name: gegl_sampler_type 1500s # ENUMNAME: GEGL_SAMPLER_TYPE 1500s # ENUMSHORT: SAMPLER_TYPE 1500s # ENUMPREFIX: GEGL 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1500s # tmpdir: /tmp/tmpfw6vkbp1 1500s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpfw6vkbp1/tmpnn9yuq3z.h: 1500s # /* Copyright © La Peña */ 1500s # typedef enum { 1500s # ENUM_VALUE 1500s # } SomeEnumIdentifier; 1500s # 1500s # /tmp/tmpfw6vkbp1/tmpi7me5y01.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfw6vkbp1/tmpi7me5y01.template', '/tmp/tmpfw6vkbp1/tmpnn9yuq3z.h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpfw6vkbp1/tmpnn9yuq3z.h 1500s # basename: tmpnn9yuq3z.h 1500s # enumeration-production 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE 1500s # valuenick: value 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 16 __main__.TestMkenums.test_reproducible 1500s # tmpdir: /tmp/tmp4pul87g4 1500s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp4pul87g4/tmpane2u7uu.template: template 1500s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4pul87g4/tmpane2u7uu.template', '/tmp/tmp4pul87g4/tmpxhpymjj21.h', '/tmp/tmp4pul87g4/tmp6gwjefta2.h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # 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. */ 1500s # 1500s # 1500s # /* Generated data ends here */ 1500s # /tmp/tmp4pul87g4/tmp0gb8ym8m.template: template 1500s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4pul87g4/tmp0gb8ym8m.template', '/tmp/tmp4pul87g4/tmp6gwjefta2.h', '/tmp/tmp4pul87g4/tmpxhpymjj21.h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # 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. */ 1500s # 1500s # 1500s # /* Generated data ends here */ 1500s ok 17 __main__.TestMkenums.test_since 1500s # tmpdir: /tmp/tmpn6xhc1xn 1500s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpn6xhc1xn/tmp28xx1iw1.h: 1500s # typedef enum { /*< since=1.0 >*/ 1500s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1500s # } QmiWmsMessageProtocol; 1500s # 1500s # /tmp/tmpn6xhc1xn/tmp1j9y7k_q.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn6xhc1xn/tmp1j9y7k_q.template', '/tmp/tmpn6xhc1xn/tmp28xx1iw1.h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpn6xhc1xn/tmp28xx1iw1.h 1500s # basename: tmp28xx1iw1.h 1500s # enumeration-production 1500s # EnumName: QmiWmsMessageProtocol 1500s # enum_name: qmi_wms_message_protocol 1500s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1500s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1500s # ENUMPREFIX: QMI 1500s # enumsince: 1.0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: QmiWmsMessageProtocol 1500s # enum_name: qmi_wms_message_protocol 1500s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1500s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1500s # ENUMPREFIX: QMI 1500s # enumsince: 1.0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1500s # valuenick: cdma 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: QmiWmsMessageProtocol 1500s # enum_name: qmi_wms_message_protocol 1500s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1500s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1500s # ENUMPREFIX: QMI 1500s # enumsince: 1.0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 18 __main__.TestMkenums.test_with_double_quotes 1500s # tmpdir: /tmp/tmp6s75q620 1500s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp6s75q620/tmp_vw2u_m6.h: 1500s # typedef enum { 1500s # FOO_VALUE /*< nick="eek, a comma" >*/ 1500s # } Foo; 1500s # 1500s # /tmp/tmp6s75q620/tmpybhuku1t.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6s75q620/tmpybhuku1t.template', '/tmp/tmp6s75q620/tmp_vw2u_m6.h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmp6s75q620/tmp_vw2u_m6.h 1500s # basename: tmp_vw2u_m6.h 1500s # enumeration-production 1500s # EnumName: Foo 1500s # enum_name: foo_ 1500s # ENUMNAME: FOO_ 1500s # ENUMSHORT: 1500s # ENUMPREFIX: FOO 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: Foo 1500s # enum_name: foo_ 1500s # ENUMNAME: FOO_ 1500s # ENUMSHORT: 1500s # ENUMPREFIX: FOO 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: FOO_VALUE 1500s # valuenick: eek, a comma 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: Foo 1500s # enum_name: foo_ 1500s # ENUMNAME: FOO_ 1500s # ENUMSHORT: 1500s # ENUMPREFIX: FOO 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 19 __main__.TestRspMkenums.test_available_in 1500s # tmpdir: /tmp/tmp3p9m40ww 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp3p9m40ww/tmp_fzvo_6c.h: 1500s # typedef enum { 1500s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1500s # } GDBusServerFlags; 1500s # 1500s # /tmp/tmp3p9m40ww/tmp9du608ss.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmp3p9m40ww/tmp9du608ss.template /tmp/tmp3p9m40ww/tmp_fzvo_6c.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3p9m40ww/tmpkusk169b'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmp3p9m40ww/tmp_fzvo_6c.h 1500s # basename: tmp_fzvo_6c.h 1500s # enumeration-production 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-header 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-production 1500s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1500s # valuenick: user 1500s # valuenum: 4 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-tail 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1500s # tmpdir: /tmp/tmplofq3guh 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmplofq3guh/tmpx7wuy1ft.h: 1500s # typedef enum { 1500s # ENUM_VALUE_WITH_COMMA = ',', 1500s # } TestCommaEnum; 1500s # 1500s # /tmp/tmplofq3guh/tmploeii1za.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmplofq3guh/tmploeii1za.template /tmp/tmplofq3guh/tmpx7wuy1ft.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplofq3guh/tmp1795047p'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmplofq3guh/tmpx7wuy1ft.h 1500s # basename: tmpx7wuy1ft.h 1500s # enumeration-production 1500s # EnumName: TestCommaEnum 1500s # enum_name: test_comma_enum 1500s # ENUMNAME: TEST_COMMA_ENUM 1500s # ENUMSHORT: COMMA_ENUM 1500s # ENUMPREFIX: TEST 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: TestCommaEnum 1500s # enum_name: test_comma_enum 1500s # ENUMNAME: TEST_COMMA_ENUM 1500s # ENUMSHORT: COMMA_ENUM 1500s # ENUMPREFIX: TEST 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE_WITH_COMMA 1500s # valuenick: comma 1500s # valuenum: 44 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: TestCommaEnum 1500s # enum_name: test_comma_enum 1500s # ENUMNAME: TEST_COMMA_ENUM 1500s # ENUMSHORT: COMMA_ENUM 1500s # ENUMPREFIX: TEST 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 21 __main__.TestRspMkenums.test_deprecated_in 1500s # tmpdir: /tmp/tmp9f4gwvit 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp9f4gwvit/tmp_a2938on.h: 1500s # typedef enum { 1500s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1500s # } GDBusServerFlags; 1500s # 1500s # /tmp/tmp9f4gwvit/tmpfyz182iz.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmp9f4gwvit/tmpfyz182iz.template /tmp/tmp9f4gwvit/tmp_a2938on.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9f4gwvit/tmpgvwqtpdr'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmp9f4gwvit/tmp_a2938on.h 1500s # basename: tmp_a2938on.h 1500s # enumeration-production 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-header 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-production 1500s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1500s # valuenick: user 1500s # valuenum: 4 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-tail 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1500s # tmpdir: /tmp/tmpte_lf2qv 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpte_lf2qv/tmptw0jvr_v.h: 1500s # typedef enum { 1500s # 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) 1500s # } GDBusServerFlags; 1500s # 1500s # /tmp/tmpte_lf2qv/tmpgb1ngc3w.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmpte_lf2qv/tmpgb1ngc3w.template /tmp/tmpte_lf2qv/tmptw0jvr_v.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpte_lf2qv/tmp0ollpq8w'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpte_lf2qv/tmptw0jvr_v.h 1500s # basename: tmptw0jvr_v.h 1500s # enumeration-production 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-header 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-production 1500s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1500s # valuenick: user 1500s # valuenum: 4 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # value-tail 1500s # EnumName: GDBusServerFlags 1500s # enum_name: g_dbus_server_flags 1500s # ENUMNAME: G_DBUS_SERVER_FLAGS 1500s # ENUMSHORT: DBUS_SERVER_FLAGS 1500s # ENUMPREFIX: G 1500s # enumsince: 1500s # type: flags 1500s # Type: Flags 1500s # TYPE: FLAGS 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 23 __main__.TestRspMkenums.test_empty_header 1500s # tmpdir: /tmp/tmp5c9ek2wa 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp5c9ek2wa/tmppraif9ia.h: 1500s # /tmp/tmp5c9ek2wa/tmpyyaskhxr.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmp5c9ek2wa/tmpyyaskhxr.template /tmp/tmp5c9ek2wa/tmppraif9ia.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5c9ek2wa/tmp9vlf8owb'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 24 __main__.TestRspMkenums.test_empty_template 1500s # tmpdir: /tmp/tmppclalib9 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmppclalib9/tmpsgone7x1.template: 1500s # Response file contains: --template /tmp/tmppclalib9/tmpsgone7x1.template 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppclalib9/tmp88s71sr7'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # 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. */ 1500s # 1500s # 1500s # /* Generated data ends here */ 1500s ok 25 __main__.TestRspMkenums.test_enum_name 1500s # tmpdir: /tmp/tmpe7qn13c7 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpe7qn13c7/tmpzrmiifg_.h: 1500s # typedef enum _SomeEnumIdentifier { 1500s # ENUM_VALUE 1500s # } SomeEnumIdentifier; 1500s # 1500s # /tmp/tmpe7qn13c7/tmpuigakdql.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmpe7qn13c7/tmpuigakdql.template /tmp/tmpe7qn13c7/tmpzrmiifg_.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe7qn13c7/tmpdcv8it12'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpe7qn13c7/tmpzrmiifg_.h 1500s # basename: tmpzrmiifg_.h 1500s # enumeration-production 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE 1500s # valuenick: value 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 26 __main__.TestRspMkenums.test_enum_private_public 1500s # tmpdir: /tmp/tmpmgolpktw 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpmgolpktw/tmp5tcxzza3.h: 1500s # typedef enum { 1500s # ENUM_VALUE_PUBLIC1, 1500s # /*< private >*/ 1500s # ENUM_VALUE_PRIVATE, 1500s # } SomeEnumA 1500s # 1500s # /tmp/tmpmgolpktw/tmps2kg3j4l.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmpmgolpktw/tmps2kg3j4l.template /tmp/tmpmgolpktw/tmp5tcxzza3.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmgolpktw/tmp_blmxapz'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpmgolpktw/tmp5tcxzza3.h 1500s # basename: tmp5tcxzza3.h 1500s # enumeration-production 1500s # EnumName: SomeEnumA 1500s # enum_name: some_enum_a 1500s # ENUMNAME: SOME_ENUM_A 1500s # ENUMSHORT: ENUM_A 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: SomeEnumA 1500s # enum_name: some_enum_a 1500s # ENUMNAME: SOME_ENUM_A 1500s # ENUMSHORT: ENUM_A 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE_PUBLIC1 1500s # valuenick: public1 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: SomeEnumA 1500s # enum_name: some_enum_a 1500s # ENUMNAME: SOME_ENUM_A 1500s # ENUMSHORT: ENUM_A 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s # /tmp/tmpmgolpktw/tmpq4xrwji5.h: 1500s # typedef enum { 1500s # /*< private >*/ 1500s # ENUM_VALUE_PRIVATE, 1500s # /*< public >*/ 1500s # ENUM_VALUE_PUBLIC2, 1500s # } SomeEnumB; 1500s # 1500s # /tmp/tmpmgolpktw/tmpe1uzetau.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmpmgolpktw/tmpe1uzetau.template /tmp/tmpmgolpktw/tmpq4xrwji5.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmgolpktw/tmptvdc3c9h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpmgolpktw/tmpq4xrwji5.h 1500s # basename: tmpq4xrwji5.h 1500s # enumeration-production 1500s # EnumName: SomeEnumB 1500s # enum_name: some_enum_b 1500s # ENUMNAME: SOME_ENUM_B 1500s # ENUMSHORT: ENUM_B 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: SomeEnumB 1500s # enum_name: some_enum_b 1500s # ENUMNAME: SOME_ENUM_B 1500s # ENUMSHORT: ENUM_B 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE_PUBLIC2 1500s # valuenick: public2 1500s # valuenum: 1 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: SomeEnumB 1500s # enum_name: some_enum_b 1500s # ENUMNAME: SOME_ENUM_B 1500s # ENUMSHORT: ENUM_B 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1500s # tmpdir: /tmp/tmp3tbzsy3z 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp3tbzsy3z/tmpps4uycem.h: 1500s # typedef enum { 1500s # /*< private >*/ 1500s # ENUM_VALUE_PRIVATE = 5, 1500s # /*< public >*/ 1500s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1500s # } TestSymbolicEnum; 1500s # 1500s # /tmp/tmp3tbzsy3z/tmp4edijn9p.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmp3tbzsy3z/tmp4edijn9p.template /tmp/tmp3tbzsy3z/tmpps4uycem.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3tbzsy3z/tmpeogamcga'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmp3tbzsy3z/tmpps4uycem.h 1500s # basename: tmpps4uycem.h 1500s # enumeration-production 1500s # EnumName: TestSymbolicEnum 1500s # enum_name: test_symbolic_enum 1500s # ENUMNAME: TEST_SYMBOLIC_ENUM 1500s # ENUMSHORT: SYMBOLIC_ENUM 1500s # ENUMPREFIX: TEST 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: TestSymbolicEnum 1500s # enum_name: test_symbolic_enum 1500s # ENUMNAME: TEST_SYMBOLIC_ENUM 1500s # ENUMSHORT: SYMBOLIC_ENUM 1500s # ENUMPREFIX: TEST 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE_PUBLIC 1500s # valuenick: public 1500s # valuenum: 7 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: TestSymbolicEnum 1500s # enum_name: test_symbolic_enum 1500s # ENUMNAME: TEST_SYMBOLIC_ENUM 1500s # ENUMSHORT: SYMBOLIC_ENUM 1500s # ENUMPREFIX: TEST 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1500s # tmpdir: /tmp/tmpxfvzbwq4 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpxfvzbwq4/tmprullhsgw.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-tail ***/ 1500s # Response file contains: --template /tmp/tmpxfvzbwq4/tmprullhsgw.template 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxfvzbwq4/tmpluyvidpl'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # file-tail 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 29 __main__.TestRspMkenums.test_help 1500s # tmpdir: /tmp/tmpi9mdubuq 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # Response file contains: --help 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi9mdubuq/tmpnsla1ooz'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1500s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1500s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1500s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1500s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1500s # [--output OUTPUT] [--version] 1500s # [args ...] 1500s # 1500s # positional arguments: 1500s # args One or more input files, or a single argument 1500s # @rspfile_path pointing to a file that contains the 1500s # actual arguments 1500s # 1500s # options: 1500s # -h, --help show this help message and exit 1500s # --identifier-prefix IDPREFIX 1500s # Identifier prefix 1500s # --symbol-prefix SYMPREFIX 1500s # Symbol prefix 1500s # --fhead FHEAD Output file header 1500s # --ftail FTAIL Output file footer 1500s # --fprod FPROD Put out TEXT every time a new input file is being 1500s # processed. 1500s # --eprod EPROD Per enum text, produced prior to value iterations 1500s # --vhead VHEAD Value header, produced before iterating over enum 1500s # values 1500s # --vprod VPROD Value text, produced for each enum value. 1500s # --vtail VTAIL Value tail, produced after iterating over enum values 1500s # --comments COMMENT_TMPL 1500s # Comment structure 1500s # --template TEMPLATE Template file 1500s # --output OUTPUT 1500s # --version, -v Print version information 1500s # 1500s # Production text substitutions: 1500s # @EnumName@ PrefixTheXEnum 1500s # @enum_name@ prefix_the_xenum 1500s # @ENUMNAME@ PREFIX_THE_XENUM 1500s # @ENUMSHORT@ THE_XENUM 1500s # @ENUMPREFIX@ PREFIX 1500s # @enumsince@ the user-provided since value given 1500s # @VALUENAME@ PREFIX_THE_XVALUE 1500s # @valuenick@ the-xvalue 1500s # @valuenum@ the integer value (limited support, Since: 2.26) 1500s # @type@ either enum or flags 1500s # @Type@ either Enum or Flags 1500s # @TYPE@ either ENUM or FLAGS 1500s # @filename@ name of current input file 1500s # @basename@ base name of the current input file (Since: 2.22) 1500s ok 30 __main__.TestRspMkenums.test_no_args 1500s # tmpdir: /tmp/tmpseenflkg 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # Response file contains: 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpseenflkg/tmpzr2_uj3k'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # 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. */ 1500s # 1500s # 1500s # /* Generated data ends here */ 1500s ok 31 __main__.TestRspMkenums.test_no_headers 1500s # tmpdir: /tmp/tmpksmgqih4 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpksmgqih4/tmpfthyjovi.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmpksmgqih4/tmpfthyjovi.template 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpksmgqih4/tmpbtku049h'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 32 __main__.TestRspMkenums.test_no_nick 1500s # tmpdir: /tmp/tmp_24ajsw7 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmp_24ajsw7/tmpdqjr1w_b.h: 1500s # typedef enum { 1500s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1500s # } GeglSamplerType; 1500s # 1500s # /tmp/tmp_24ajsw7/tmp3f96rxh_.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmp_24ajsw7/tmp3f96rxh_.template /tmp/tmp_24ajsw7/tmpdqjr1w_b.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_24ajsw7/tmpz0lxjbpl'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmp_24ajsw7/tmpdqjr1w_b.h 1500s # basename: tmpdqjr1w_b.h 1500s # enumeration-production 1500s # EnumName: GeglSamplerType 1500s # enum_name: gegl_sampler_type 1500s # ENUMNAME: GEGL_SAMPLER_TYPE 1500s # ENUMSHORT: SAMPLER_TYPE 1500s # ENUMPREFIX: GEGL 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: GeglSamplerType 1500s # enum_name: gegl_sampler_type 1500s # ENUMNAME: GEGL_SAMPLER_TYPE 1500s # ENUMSHORT: SAMPLER_TYPE 1500s # ENUMPREFIX: GEGL 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: GEGL_SAMPLER_NEAREST 1500s # valuenick: nearest 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: GeglSamplerType 1500s # enum_name: gegl_sampler_type 1500s # ENUMNAME: GEGL_SAMPLER_TYPE 1500s # ENUMSHORT: SAMPLER_TYPE 1500s # ENUMPREFIX: GEGL 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1500s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1500s # tmpdir: /tmp/tmpwvgm0wha 1500s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1500s # /tmp/tmpwvgm0wha/tmpw60swr4r.h: 1500s # /* Copyright © La Peña */ 1500s # typedef enum { 1500s # ENUM_VALUE 1500s # } SomeEnumIdentifier; 1500s # 1500s # /tmp/tmpwvgm0wha/tmpeudxsiwj.template: 1500s # /*** BEGIN file-header ***/ 1500s # file-header 1500s # /*** END file-header ***/ 1500s # 1500s # /*** BEGIN file-production ***/ 1500s # file-production 1500s # filename: @filename@ 1500s # basename: @basename@ 1500s # /*** END file-production ***/ 1500s # 1500s # /*** BEGIN enumeration-production ***/ 1500s # enumeration-production 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END enumeration-production ***/ 1500s # 1500s # /*** BEGIN value-header ***/ 1500s # value-header 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-header ***/ 1500s # 1500s # /*** BEGIN value-production ***/ 1500s # value-production 1500s # VALUENAME: @VALUENAME@ 1500s # valuenick: @valuenick@ 1500s # valuenum: @valuenum@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-production ***/ 1500s # 1500s # /*** BEGIN value-tail ***/ 1500s # value-tail 1500s # EnumName: @EnumName@ 1500s # enum_name: @enum_name@ 1500s # ENUMNAME: @ENUMNAME@ 1500s # ENUMSHORT: @ENUMSHORT@ 1500s # ENUMPREFIX: @ENUMPREFIX@ 1500s # enumsince: @enumsince@ 1500s # type: @type@ 1500s # Type: @Type@ 1500s # TYPE: @TYPE@ 1500s # /*** END value-tail ***/ 1500s # 1500s # /*** BEGIN comment ***/ 1500s # comment 1500s # comment: @comment@ 1500s # /*** END comment ***/ 1500s # 1500s # /*** BEGIN file-tail ***/ 1500s # file-tail 1500s # /*** END file-tail ***/ 1500s # 1500s # Response file contains: --template /tmp/tmpwvgm0wha/tmpeudxsiwj.template /tmp/tmpwvgm0wha/tmpw60swr4r.h 1500s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwvgm0wha/tmpzf7yoch3'] 1500s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1500s # Output: comment 1500s # 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. 1500s # 1500s # 1500s # file-header 1500s # file-production 1500s # filename: /tmp/tmpwvgm0wha/tmpw60swr4r.h 1500s # basename: tmpw60swr4r.h 1500s # enumeration-production 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-header 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-production 1500s # VALUENAME: ENUM_VALUE 1500s # valuenick: value 1500s # valuenum: 0 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # value-tail 1500s # EnumName: SomeEnumIdentifier 1500s # enum_name: some_enum_identifier 1500s # ENUMNAME: SOME_ENUM_IDENTIFIER 1500s # ENUMSHORT: ENUM_IDENTIFIER 1500s # ENUMPREFIX: SOME 1500s # enumsince: 1500s # type: enum 1500s # Type: Enum 1500s # TYPE: ENUM 1500s # file-tail 1500s # 1500s # comment 1500s # comment: Generated data ends here 1501s ok 34 __main__.TestRspMkenums.test_reproducible 1501s # tmpdir: /tmp/tmp3yqk2rh3 1501s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1501s # /tmp/tmp3yqk2rh3/tmp7iv9l2om.template: template 1501s # Response file contains: --template /tmp/tmp3yqk2rh3/tmp7iv9l2om.template /tmp/tmp3yqk2rh3/tmp2222s6961.h /tmp/tmp3yqk2rh3/tmpt2ws_pzm2.h 1501s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3yqk2rh3/tmpxzlsb91l'] 1501s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1501s # 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. */ 1501s # 1501s # 1501s # /* Generated data ends here */ 1501s # /tmp/tmp3yqk2rh3/tmp8qdqili7.template: template 1501s # Response file contains: --template /tmp/tmp3yqk2rh3/tmp8qdqili7.template /tmp/tmp3yqk2rh3/tmpt2ws_pzm2.h /tmp/tmp3yqk2rh3/tmp2222s6961.h 1501s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3yqk2rh3/tmpgoky03sz'] 1501s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1501s # 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. */ 1501s # 1501s # 1501s # /* Generated data ends here */ 1501s ok 35 __main__.TestRspMkenums.test_since 1501s # tmpdir: /tmp/tmpv9cx7vfg 1501s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1501s # /tmp/tmpv9cx7vfg/tmp5ito5mlw.h: 1501s # typedef enum { /*< since=1.0 >*/ 1501s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1501s # } QmiWmsMessageProtocol; 1501s # 1501s # /tmp/tmpv9cx7vfg/tmptc0ymcjl.template: 1501s # /*** BEGIN file-header ***/ 1501s # file-header 1501s # /*** END file-header ***/ 1501s # 1501s # /*** BEGIN file-production ***/ 1501s # file-production 1501s # filename: @filename@ 1501s # basename: @basename@ 1501s # /*** END file-production ***/ 1501s # 1501s # /*** BEGIN enumeration-production ***/ 1501s # enumeration-production 1501s # EnumName: @EnumName@ 1501s # enum_name: @enum_name@ 1501s # ENUMNAME: @ENUMNAME@ 1501s # ENUMSHORT: @ENUMSHORT@ 1501s # ENUMPREFIX: @ENUMPREFIX@ 1501s # enumsince: @enumsince@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END enumeration-production ***/ 1501s # 1501s # /*** BEGIN value-header ***/ 1501s # value-header 1501s # EnumName: @EnumName@ 1501s # enum_name: @enum_name@ 1501s # ENUMNAME: @ENUMNAME@ 1501s # ENUMSHORT: @ENUMSHORT@ 1501s # ENUMPREFIX: @ENUMPREFIX@ 1501s # enumsince: @enumsince@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END value-header ***/ 1501s # 1501s # /*** BEGIN value-production ***/ 1501s # value-production 1501s # VALUENAME: @VALUENAME@ 1501s # valuenick: @valuenick@ 1501s # valuenum: @valuenum@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END value-production ***/ 1501s # 1501s # /*** BEGIN value-tail ***/ 1501s # value-tail 1501s # EnumName: @EnumName@ 1501s # enum_name: @enum_name@ 1501s # ENUMNAME: @ENUMNAME@ 1501s # ENUMSHORT: @ENUMSHORT@ 1501s # ENUMPREFIX: @ENUMPREFIX@ 1501s # enumsince: @enumsince@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END value-tail ***/ 1501s # 1501s # /*** BEGIN comment ***/ 1501s # comment 1501s # comment: @comment@ 1501s # /*** END comment ***/ 1501s # 1501s # /*** BEGIN file-tail ***/ 1501s # file-tail 1501s # /*** END file-tail ***/ 1501s # 1501s # Response file contains: --template /tmp/tmpv9cx7vfg/tmptc0ymcjl.template /tmp/tmpv9cx7vfg/tmp5ito5mlw.h 1501s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv9cx7vfg/tmpgujrftq1'] 1501s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1501s # Output: comment 1501s # 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. 1501s # 1501s # 1501s # file-header 1501s # file-production 1501s # filename: /tmp/tmpv9cx7vfg/tmp5ito5mlw.h 1501s # basename: tmp5ito5mlw.h 1501s # enumeration-production 1501s # EnumName: QmiWmsMessageProtocol 1501s # enum_name: qmi_wms_message_protocol 1501s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1501s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1501s # ENUMPREFIX: QMI 1501s # enumsince: 1.0 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # value-header 1501s # EnumName: QmiWmsMessageProtocol 1501s # enum_name: qmi_wms_message_protocol 1501s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1501s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1501s # ENUMPREFIX: QMI 1501s # enumsince: 1.0 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # value-production 1501s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1501s # valuenick: cdma 1501s # valuenum: 0 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # value-tail 1501s # EnumName: QmiWmsMessageProtocol 1501s # enum_name: qmi_wms_message_protocol 1501s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1501s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1501s # ENUMPREFIX: QMI 1501s # enumsince: 1.0 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # file-tail 1501s # 1501s # comment 1501s # comment: Generated data ends here 1501s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1501s # tmpdir: /tmp/tmpveh7u6y6 1501s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1501s # /tmp/tmpveh7u6y6/tmp5axqr1zc.h: 1501s # typedef enum { 1501s # FOO_VALUE /*< nick="eek, a comma" >*/ 1501s # } Foo; 1501s # 1501s # /tmp/tmpveh7u6y6/tmp4jl3h_hx.template: 1501s # /*** BEGIN file-header ***/ 1501s # file-header 1501s # /*** END file-header ***/ 1501s # 1501s # /*** BEGIN file-production ***/ 1501s # file-production 1501s # filename: @filename@ 1501s # basename: @basename@ 1501s # /*** END file-production ***/ 1501s # 1501s # /*** BEGIN enumeration-production ***/ 1501s # enumeration-production 1501s # EnumName: @EnumName@ 1501s # enum_name: @enum_name@ 1501s # ENUMNAME: @ENUMNAME@ 1501s # ENUMSHORT: @ENUMSHORT@ 1501s # ENUMPREFIX: @ENUMPREFIX@ 1501s # enumsince: @enumsince@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END enumeration-production ***/ 1501s # 1501s # /*** BEGIN value-header ***/ 1501s # value-header 1501s # EnumName: @EnumName@ 1501s # enum_name: @enum_name@ 1501s # ENUMNAME: @ENUMNAME@ 1501s # ENUMSHORT: @ENUMSHORT@ 1501s # ENUMPREFIX: @ENUMPREFIX@ 1501s # enumsince: @enumsince@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END value-header ***/ 1501s # 1501s # /*** BEGIN value-production ***/ 1501s # value-production 1501s # VALUENAME: @VALUENAME@ 1501s # valuenick: @valuenick@ 1501s # valuenum: @valuenum@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END value-production ***/ 1501s # 1501s # /*** BEGIN value-tail ***/ 1501s # value-tail 1501s # EnumName: @EnumName@ 1501s # enum_name: @enum_name@ 1501s # ENUMNAME: @ENUMNAME@ 1501s # ENUMSHORT: @ENUMSHORT@ 1501s # ENUMPREFIX: @ENUMPREFIX@ 1501s # enumsince: @enumsince@ 1501s # type: @type@ 1501s # Type: @Type@ 1501s # TYPE: @TYPE@ 1501s # /*** END value-tail ***/ 1501s # 1501s # /*** BEGIN comment ***/ 1501s # comment 1501s # comment: @comment@ 1501s # /*** END comment ***/ 1501s # 1501s # /*** BEGIN file-tail ***/ 1501s # file-tail 1501s # /*** END file-tail ***/ 1501s # 1501s # Response file contains: --template /tmp/tmpveh7u6y6/tmp4jl3h_hx.template /tmp/tmpveh7u6y6/tmp5axqr1zc.h 1501s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpveh7u6y6/tmpwvstw6u_'] 1501s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-7LXwqHCIU8,guid=8221da55e859a00d5e84cc8e65f97cca', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.z8orER/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.0DrsVp5i5o', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.aYcEFF/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.z8orER/wrapper.sh --artifacts=/tmp/autopkgtest.z8orER/installed-tests-artifacts --chdir=/tmp/autopkgtest.z8orER/build.fMS/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.z8orER/installed-tests-stderr --stdout=/tmp/autopkgtest.z8orER/installed-tests-stdout --tmp=/tmp/autopkgtest.z8orER/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.z8orER/build.fMS/src/debian/tests/installed-tests -- /tmp/autopkgtest.z8orER/build.fMS/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.z8orER/build.fMS/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.z8orER/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1501s # Output: comment 1501s # 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. 1501s # 1501s # 1501s # file-header 1501s # file-production 1501s # filename: /tmp/tmpveh7u6y6/tmp5axqr1zc.h 1501s # basename: tmp5axqr1zc.h 1501s # enumeration-production 1501s # EnumName: Foo 1501s # enum_name: foo_ 1501s # ENUMNAME: FOO_ 1501s # ENUMSHORT: 1501s # ENUMPREFIX: FOO 1501s # enumsince: 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # value-header 1501s # EnumName: Foo 1501s # enum_name: foo_ 1501s # ENUMNAME: FOO_ 1501s # ENUMSHORT: 1501s # ENUMPREFIX: FOO 1501s # enumsince: 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # value-production 1501s # VALUENAME: FOO_VALUE 1501s # valuenick: eek, a comma 1501s # valuenum: 0 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # value-tail 1501s # EnumName: Foo 1501s # enum_name: foo_ 1501s # ENUMNAME: FOO_ 1501s # ENUMSHORT: 1501s # ENUMPREFIX: FOO 1501s # enumsince: 1501s # type: enum 1501s # Type: Enum 1501s # TYPE: ENUM 1501s # file-tail 1501s # 1501s # comment 1501s # comment: Generated data ends here 1501s 1..36 1501s ok - glib/mkenums.py.test 1501s # Running test: glib/macros-c-90.test 1501s TAP version 13 1501s # random seed: R02S13519008fc9d9280f0e553b4fb9cd6ad 1501s 1..4 1501s # Start of C tests 1501s ok 1 /C/standard-90 1501s # End of C tests 1501s # Start of alignof tests 1501s ok 2 /alignof/fallback 1501s # End of alignof tests 1501s # Start of assert tests 1501s ok 3 /assert/static 1501s # End of assert tests 1501s # Start of struct tests 1501s ok 4 /struct/sizeof_member 1501s # End of struct tests 1501s ok - glib/macros-c-90.test 1501s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=237.0s; system=47.2s; maxrss=206848 1501s autopkgtest [12:01:07]: test installed-tests: -----------------------] 1512s installed-tests PASS 1512s autopkgtest [12:01:18]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1513s autopkgtest [12:01:19]: test closure-refcount: preparing testbed 1514s Reading package lists... 1514s Building dependency tree... 1514s Reading state information... 1514s Starting pkgProblemResolver with broken count: 0 1515s Starting 2 pkgProblemResolver with broken count: 0 1515s Done 1515s The following NEW packages will be installed: 1515s autopkgtest-satdep 1515s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1515s Need to get 0 B/776 B of archives. 1515s After this operation, 0 B of additional disk space will be used. 1515s Get:1 /tmp/autopkgtest.z8orER/4-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1515s Selecting previously unselected package autopkgtest-satdep. 1515s (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 ... 71100 files and directories currently installed.) 1515s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1515s Unpacking autopkgtest-satdep (0) ... 1515s Setting up autopkgtest-satdep (0) ... 1517s (Reading database ... 71100 files and directories currently installed.) 1517s Removing autopkgtest-satdep (0) ... 1518s autopkgtest [12:01:24]: test closure-refcount: [----------------------- 1518s Running test: glib/closure-refcount.test 1518s TAP version 13 1518s # random seed: R02S4ea3565602c17a68b301071e5e93c374 1518s 1..1 1518s # Start of closure tests 1518s # Init 0x1f034b71f0a0 1518s # Yielding from main thread 1518s # Yielding from main thread 1518s # Yielding from main thread 1518s # Yielding from thread2 1518s # Yielding from thread1 1518s # Yielding from main thread 1518s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from thread2 1519s # Yielding from thread1 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from thread1 1519s # Yielding from thread2 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from thread1 1519s # Yielding from main thread 1519s # Yielding from thread2 1519s # Yielding from main thread 1519s # Yielding from main thread 1519s # Yielding from main thread 1520s # Yielding from thread1 1520s # Yielding from thread2 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread1 1520s # Yielding from thread2 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread1 1520s # Yielding from thread2 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread1 1520s # Yielding from thread2 1520s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from thread1 1521s # Yielding from main thread 1521s # Yielding from thread2 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from thread1 1521s # Yielding from thread2 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from thread1 1521s # Yielding from thread2 1521s # Yielding from main thread 1521s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread1 1522s # Yielding from thread2 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread1 1522s # Yielding from thread2 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread1 1522s # Yielding from thread2 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread1 1523s # Yielding from thread2 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread1 1523s # Yielding from main thread 1523s # Yielding from thread2 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread1 1523s # Yielding from thread2 1523s # Yielding from main thread 1524s # Yielding from main thread 1524s Executing: glib/closure-refcount.test 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from thread1 1524s # Yielding from thread2 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from thread1 1524s # Yielding from main thread 1524s # Yielding from thread2 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from thread1 1524s # Yielding from main thread 1524s # Yielding from thread2 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from thread1 1524s # Yielding from thread2 1524s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from thread1 1525s # Yielding from thread2 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from thread1 1525s # Yielding from thread2 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from thread1 1525s # Yielding from main thread 1525s # Yielding from thread2 1525s # Yielding from main thread 1526s # Yielding from main thread 1526s # Yielding from main thread 1526s # Yielding from thread1 1526s # Yielding from thread2 1526s # Yielding from main thread 1526s # Yielding from main thread 1526s # Yielding from main thread 1526s # Yielding from main thread 1526s # Yielding from thread1 1526s # Yielding from thread2 1526s # Yielding from main thread 1526s # Yielding from main thread 1526s # Stopping 1526s # Stopped 1526s ok 1 /closure/refcount 1526s # slow test /closure/refcount executed in 8.17 secs 1526s # End of closure tests 1526s PASS: glib/closure-refcount.test 1526s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=8.1s; system=0.0s; maxrss=4096 1527s autopkgtest [12:01:33]: test closure-refcount: -----------------------] 1527s autopkgtest [12:01:33]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1527s closure-refcount PASS 1527s autopkgtest [12:01:33]: test debugcontroller: preparing testbed 1529s Reading package lists... 1529s Building dependency tree... 1529s Reading state information... 1529s Starting pkgProblemResolver with broken count: 0 1529s Starting 2 pkgProblemResolver with broken count: 0 1529s Done 1530s The following NEW packages will be installed: 1530s autopkgtest-satdep 1530s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1530s Need to get 0 B/780 B of archives. 1530s After this operation, 0 B of additional disk space will be used. 1530s Get:1 /tmp/autopkgtest.z8orER/5-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1530s Selecting previously unselected package autopkgtest-satdep. 1530s (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 ... 71100 files and directories currently installed.) 1530s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1530s Unpacking autopkgtest-satdep (0) ... 1530s Setting up autopkgtest-satdep (0) ... 1532s (Reading database ... 71100 files and directories currently installed.) 1532s Removing autopkgtest-satdep (0) ... 1532s autopkgtest [12:01:38]: test debugcontroller: [----------------------- 1532s Running test: glib/debugcontroller.test 1532s TAP version 13 1532s # random seed: R02S8efc2458f9570a040bcee5126519f864 1532s 1..3 1532s # Start of debug-controller tests 1532s # Start of dbus tests 1532s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Debug output enabled 1532s # GLib-GIO-DEBUG: Debug output disabled 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s ok 1 /debug-controller/dbus/basic 1532s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s ok 2 /debug-controller/dbus/duplicate 1532s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1532s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Debug output enabled 1533s # GLib-GIO-DEBUG: Debug output disabled 1533s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1533s ok 3 /debug-controller/dbus/properties 1533s # End of dbus tests 1533s # End of debug-controller tests 1533s PASS: glib/debugcontroller.test 1533s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1533s autopkgtest [12:01:39]: test debugcontroller: -----------------------] 1533s debugcontroller PASS 1533s autopkgtest [12:01:39]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1534s autopkgtest [12:01:40]: test gdbus-server-auth: preparing testbed 1535s Reading package lists... 1535s Building dependency tree... 1535s Reading state information... 1536s Starting pkgProblemResolver with broken count: 0 1536s Starting 2 pkgProblemResolver with broken count: 0 1536s Done 1536s The following NEW packages will be installed: 1536s autopkgtest-satdep 1536s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1536s Need to get 0 B/776 B of archives. 1536s After this operation, 0 B of additional disk space will be used. 1536s Get:1 /tmp/autopkgtest.z8orER/6-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1536s Selecting previously unselected package autopkgtest-satdep. 1536s (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 ... 71100 files and directories currently installed.) 1536s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1536s Unpacking autopkgtest-satdep (0) ... 1536s Setting up autopkgtest-satdep (0) ... 1538s (Reading database ... 71100 files and directories currently installed.) 1538s Removing autopkgtest-satdep (0) ... 1538s autopkgtest [12:01:44]: test gdbus-server-auth: [----------------------- 1539s Running test: glib/gdbus-server-auth.test 1539s TAP version 13 1539s # random seed: R02S8a695b9f8d3107db965408f0d9353580 1539s 1..9 1539s # Start of gdbus tests 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/.dirs/runtime 1539s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-LI8YK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1539s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-LI8YK2/dbus-vVtnNk0h 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15943 1539s ok 1 /gdbus/server-auth 1539s # Start of server-auth tests 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/abstract/.dirs/runtime 1539s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-SBTYK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1539s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-SBTYK2/dbus-UHJvMBQ9 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15943 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1539s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15943 1539s ok 2 /gdbus/server-auth/abstract 1539s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/home 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/cache 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/system-config2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/config 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/system-data2 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/data 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/state 1539s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/tcp/.dirs/runtime 1539s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1539s # Connectable address: tcp:host=127.0.0.1,port=43081 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1539s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1539s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1539s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1539s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1539s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1539s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1540s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1540s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1540s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1540s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1540s ok 3 /gdbus/server-auth/tcp 1540s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/.dirs/runtime 1540s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-UP0UK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1540s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-UP0UK2/dbus-ANWVUQrr 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15943 1540s ok 4 /gdbus/server-auth/anonymous 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/.dirs/runtime 1540s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-WOLUK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1540s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-WOLUK2/dbus-DyAofQAS 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1540s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15943 1540s ok 5 /gdbus/server-auth/external 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/.dirs/runtime 1540s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-TMHYK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1540s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-TMHYK2/dbus-8dTSOJvI 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15943 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1540s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15943 1540s ok 6 /gdbus/server-auth/sha1 1540s # Start of anonymous tests 1540s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1540s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1540s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1540s # Connectable address: tcp:host=127.0.0.1,port=43093 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1540s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1540s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1540s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1540s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1540s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1541s ok 7 /gdbus/server-auth/anonymous/tcp 1541s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1541s # End of anonymous tests 1541s # Start of external tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1541s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-XF2VK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1541s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_RTUXK2/gdbus-server-auth-XF2VK2/dbus-If9DC7sg 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15943 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1541s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15943,uid=1000,gid=1000 1541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15943 1541s ok 8 /gdbus/server-auth/external/require-same-user 1541s # End of external tests 1541s # Start of sha1 tests 1541s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/home 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/config 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/data 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/state 1541s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_RTUXK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1541s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1541s # Connectable address: tcp:host=127.0.0.1,port=34105 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1541s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1541s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1541s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1541s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1541s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1541s ok 9 /gdbus/server-auth/sha1/tcp 1541s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1541s # End of sha1 tests 1541s # End of server-auth tests 1541s # End of gdbus tests 1541s PASS: glib/gdbus-server-auth.test 1541s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=12288 1542s autopkgtest [12:01:48]: test gdbus-server-auth: -----------------------] 1543s gdbus-server-auth PASS 1543s autopkgtest [12:01:49]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1543s autopkgtest [12:01:49]: test gdbus-threading: preparing testbed 1544s Reading package lists... 1544s Building dependency tree... 1544s Reading state information... 1545s Starting pkgProblemResolver with broken count: 0 1545s Starting 2 pkgProblemResolver with broken count: 0 1545s Done 1545s The following NEW packages will be installed: 1545s autopkgtest-satdep 1545s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1545s Need to get 0 B/772 B of archives. 1545s After this operation, 0 B of additional disk space will be used. 1545s Get:1 /tmp/autopkgtest.z8orER/7-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1545s Selecting previously unselected package autopkgtest-satdep. 1545s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71100 files and directories currently installed.) 1545s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1545s Unpacking autopkgtest-satdep (0) ... 1545s Setting up autopkgtest-satdep (0) ... 1547s (Reading database ... 71100 files and directories currently installed.) 1547s Removing autopkgtest-satdep (0) ... 1548s autopkgtest [12:01:54]: test gdbus-threading: [----------------------- 1548s Running test: glib/gdbus-threading.test 1548s TAP version 13 1548s # random seed: R02S3b3590c2e7648c4db8ce9352777a66fa 1548s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1548s 1..3 1548s # Start of gdbus tests 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_7O02K2/gdbus/delivery-in-thread/.dirs/runtime 1548s ok 1 /gdbus/delivery-in-thread 1548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/home 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/cache 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/system-config2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/config 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/system-data2 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/data 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/state 1548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_7O02K2/gdbus/method-calls-in-thread/.dirs/runtime 1549s # GLib-GIO-DEBUG: refcount of 0x19ced9b190f0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 1549s # GLib-GIO-DEBUG: refcount of 0x19ced9b190f0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 1549s ok 2 /gdbus/method-calls-in-thread 1549s # slow test /gdbus/method-calls-in-thread executed in 0.90 secs 1549s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/home 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/cache 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/system-config2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/config 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/system-data2 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/data 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/state 1549s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_7O02K2/gdbus/threaded-singleton/.dirs/runtime 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c001910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c001910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c001210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c001210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c004980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c004e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c0019d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c001ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c0045d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s # GLib-GIO-DEBUG: refcount of 0x7da91c0045d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c001ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c006670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c006d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0061d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0061d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0061d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0061d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0061d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1550s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1550s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0070c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c006ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c006ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c006640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c006ba0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c006ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0077c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0077c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s # GLib-GIO-DEBUG: refcount of 0x7da91c0077c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c0077c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1552s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c006ba0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c007e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s Executing: glib/gdbus-threading.test 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s # GLib-GIO-DEBUG: refcount of 0x7da91c000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000be0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000be0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1554s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c000900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1555s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1555s # GLib-GIO-DEBUG: refcount of 0x7da91c007890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c000ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c000ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1556s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1556s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c000eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1557s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c005db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s Executing: glib/gdbus-threading.test 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1558s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1558s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c008690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1559s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1559s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1560s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1560s # GLib-GIO-DEBUG: refcount of 0x7da91c007f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c007dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c007dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c008b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c009040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c009010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c009010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c008e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c008e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c008e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c008e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1561s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1561s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c008620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c008620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c008620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c008620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: refcount of 0x7da91c001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1562s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s Executing: glib/gdbus-threading.test 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1563s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c008220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1564s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c0077e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1565s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1565s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1566s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1566s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c008ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c0061a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1567s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1567s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c001b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s Executing: glib/gdbus-threading.test 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1568s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1568s # GLib-GIO-DEBUG: refcount of 0x7da91c007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c0086a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c006800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c006800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1569s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1569s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c003740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c008d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c008d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c008a20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c009300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c0011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c008ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1570s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1570s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c003d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c003d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c003d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c003d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c003d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c008970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c008940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c0088c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1571s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1571s # GLib-GIO-DEBUG: refcount of 0x7da91c001bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c000be0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c000be0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c0078a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c0078a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1572s # GLib-GIO-DEBUG: refcount of 0x7da91c008240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1572s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1573s # GLib-GIO-DEBUG: refcount of 0x7da91c001030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1573s ok 3 /gdbus/threaded-singleton 1573s # slow test /gdbus/threaded-singleton executed in 24.20 secs 1573s # End of gdbus tests 1573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1573s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1573s PASS: glib/gdbus-threading.test 1573s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=0.4s; maxrss=8192 1573s autopkgtest [12:02:19]: test gdbus-threading: -----------------------] 1575s gdbus-threading PASS 1575s autopkgtest [12:02:21]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1575s autopkgtest [12:02:21]: test gmenumodel: preparing testbed 1576s Reading package lists... 1577s Building dependency tree... 1577s Reading state information... 1577s Starting pkgProblemResolver with broken count: 0 1577s Starting 2 pkgProblemResolver with broken count: 0 1577s Done 1577s The following NEW packages will be installed: 1577s autopkgtest-satdep 1577s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1577s Need to get 0 B/772 B of archives. 1577s After this operation, 0 B of additional disk space will be used. 1577s Get:1 /tmp/autopkgtest.z8orER/8-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1577s Selecting previously unselected package autopkgtest-satdep. 1577s (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 ... 71100 files and directories currently installed.) 1577s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1577s Unpacking autopkgtest-satdep (0) ... 1577s Setting up autopkgtest-satdep (0) ... 1579s (Reading database ... 71100 files and directories currently installed.) 1579s Removing autopkgtest-satdep (0) ... 1580s autopkgtest [12:02:26]: test gmenumodel: [----------------------- 1580s Running test: glib/gmenumodel.test 1580s TAP version 13 1580s # random seed: R02S4f5f42a848771f065ac18d19e74a9916 1580s 1..14 1580s # Start of gmenu tests 1582s ok 1 /gmenu/equality 1582s # slow test /gmenu/equality executed in 1.88 secs 1584s ok 2 /gmenu/random 1584s # slow test /gmenu/random executed in 2.26 secs 1584s ok 3 /gmenu/attributes 1584s ok 4 /gmenu/links 1584s ok 5 /gmenu/mutable 1584s ok 6 /gmenu/convenience 1584s ok 7 /gmenu/menuitem 1584s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1584s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1584s ok 8 /gmenu/input-validation 1584s # Start of dbus tests 1584s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1585s Executing: glib/gmenumodel.test 1585s ok 9 /gmenu/dbus/roundtrip 1585s # slow test /gmenu/dbus/roundtrip executed in 1.12 secs 1586s ok 10 /gmenu/dbus/subscriptions 1589s ok 11 /gmenu/dbus/threaded 1589s # slow test /gmenu/dbus/threaded executed in 2.79 secs 1589s # Start of peer tests 1590s ok 12 /gmenu/dbus/peer/roundtrip 1590s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1590s ok 13 /gmenu/dbus/peer/subscriptions 1590s # End of peer tests 1590s # End of dbus tests 1590s # Start of attributes tests 1590s ok 14 /gmenu/attributes/iterate 1590s # End of attributes tests 1590s # End of gmenu tests 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1590s PASS: glib/gmenumodel.test 1590s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.4s; system=0.2s; maxrss=22528 1590s autopkgtest [12:02:36]: test gmenumodel: -----------------------] 1591s gmenumodel PASS 1591s autopkgtest [12:02:37]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1591s autopkgtest [12:02:37]: test mainloop: preparing testbed 1595s Reading package lists... 1595s Building dependency tree... 1595s Reading state information... 1595s Starting pkgProblemResolver with broken count: 0 1595s Starting 2 pkgProblemResolver with broken count: 0 1595s Done 1596s The following NEW packages will be installed: 1596s autopkgtest-satdep 1596s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1596s Need to get 0 B/772 B of archives. 1596s After this operation, 0 B of additional disk space will be used. 1596s Get:1 /tmp/autopkgtest.z8orER/9-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1596s Selecting previously unselected package autopkgtest-satdep. 1596s (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 ... 71100 files and directories currently installed.) 1596s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1596s Unpacking autopkgtest-satdep (0) ... 1596s Setting up autopkgtest-satdep (0) ... 1598s (Reading database ... 71100 files and directories currently installed.) 1598s Removing autopkgtest-satdep (0) ... 1599s autopkgtest [12:02:45]: test mainloop: [----------------------- 1599s Running test: glib/mainloop.test 1599s TAP version 13 1599s # random seed: R02Sd987eadf55080488bd45a9e06b660f94 1599s 1..45 1599s # Start of maincontext tests 1599s ok 1 /maincontext/basic 1599s # Add same-priority sources: 20 1599s # Find each source: 8 1599s # Remove in random order: 52 1599s ok 2 /maincontext/nsources_same_priority 1599s # Add different-priority sources: 25 1599s # Find each source: 8 1599s # Remove in random order: 59 1599s ok 3 /maincontext/nsources_different_priority 1600s # Add sources from threads: 414 1600s # Remove sources from threads: 126 1600s ok 4 /maincontext/nsources_threadpool 1600s # slow test /maincontext/nsources_threadpool executed in 0.55 secs 1600s ok 5 /maincontext/source_finalization 1600s # /maincontext/idle-once summary: Test g_idle_add_once() works 1600s ok 6 /maincontext/idle-once 1600s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1600s ok 7 /maincontext/timeout-once 1600s # Start of source_finalization_from_source tests 1600s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 8 /maincontext/source_finalization_from_source/0 1600s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 9 /maincontext/source_finalization_from_source/1 1600s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 10 /maincontext/source_finalization_from_source/2 1600s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 11 /maincontext/source_finalization_from_source/3 1600s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 12 /maincontext/source_finalization_from_source/4 1600s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 13 /maincontext/source_finalization_from_source/5 1600s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 14 /maincontext/source_finalization_from_source/6 1600s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 15 /maincontext/source_finalization_from_source/7 1600s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 16 /maincontext/source_finalization_from_source/8 1600s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1600s ok 17 /maincontext/source_finalization_from_source/9 1600s # End of source_finalization_from_source tests 1600s # Start of source_finalization_from_dispatch tests 1600s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1600s ok 18 /maincontext/source_finalization_from_dispatch/0 1600s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1600s ok 19 /maincontext/source_finalization_from_dispatch/1 1600s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1600s ok 20 /maincontext/source_finalization_from_dispatch/2 1600s # End of source_finalization_from_dispatch tests 1600s # End of maincontext tests 1600s # Start of mainloop tests 1600s ok 21 /mainloop/basic 1600s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1600s ok 23 /mainloop/priorities 1600s ok 24 /mainloop/invoke 1600s # slow test /mainloop/invoke executed in 0.50 secs 1602s ok 25 /mainloop/child_sources 1602s # slow test /mainloop/child_sources executed in 1.22 secs 1604s ok 26 /mainloop/recursive_child_sources 1604s # slow test /mainloop/recursive_child_sources executed in 2.26 secs 1604s ok 27 /mainloop/recursive_loop_child_sources 1604s ok 28 /mainloop/swapping_child_sources 1604s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1604s ok 29 /mainloop/blocked_child_sources 1604s Executing: glib/mainloop.test 1605s ok 30 /mainloop/source_time 1605s # slow test /mainloop/source_time executed in 1.00 secs 1605s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1605s ok 31 /mainloop/overflow 1605s ok 32 /mainloop/ready-time 1605s # slow test /mainloop/ready-time executed in 0.50 secs 1605s ok 33 /mainloop/wakeup 1605s ok 34 /mainloop/remove-invalid 1605s ok 35 /mainloop/unref-while-pending 1607s ok 36 /mainloop/unix-fd 1607s # slow test /mainloop/unix-fd executed in 1.55 secs 1607s ok 37 /mainloop/unix-fd-source 1607s ok 38 /mainloop/source-unix-fd-api 1607s ok 39 /mainloop/wait 1607s ok 40 /mainloop/unix-file-poll 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1607s ok 41 /mainloop/unix-fd-priority 1607s ok 42 /mainloop/nfds 1607s ok 43 /mainloop/steal-fd 1607s # Start of ownerless-polling tests 1607s ok 44 /mainloop/ownerless-polling/attach-first 1607s ok 45 /mainloop/ownerless-polling/pop-first 1607s # End of ownerless-polling tests 1607s # End of mainloop tests 1607s PASS: glib/mainloop.test 1607s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=1.5s; maxrss=18432 1608s autopkgtest [12:02:54]: test mainloop: -----------------------] 1608s mainloop PASS 1608s autopkgtest [12:02:54]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1608s autopkgtest [12:02:54]: test memory-monitor-dbus: preparing testbed 1611s Reading package lists... 1612s Building dependency tree... 1612s Reading state information... 1612s Starting pkgProblemResolver with broken count: 0 1612s Starting 2 pkgProblemResolver with broken count: 0 1612s Done 1612s The following NEW packages will be installed: 1612s autopkgtest-satdep 1612s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1612s Need to get 0 B/776 B of archives. 1612s After this operation, 0 B of additional disk space will be used. 1612s Get:1 /tmp/autopkgtest.z8orER/10-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1612s Selecting previously unselected package autopkgtest-satdep. 1612s (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 ... 71100 files and directories currently installed.) 1612s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1612s Unpacking autopkgtest-satdep (0) ... 1612s Setting up autopkgtest-satdep (0) ... 1614s (Reading database ... 71100 files and directories currently installed.) 1614s Removing autopkgtest-satdep (0) ... 1615s autopkgtest [12:03:01]: test memory-monitor-dbus: [----------------------- 1615s Running test: glib/memory-monitor-dbus.test 1615s TAP version 13 1615s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1615s # Received memory warning signal, level 1615s # Received memory warning signal, level 1615s # Received memory warning signal, level 1615s 1..1 1615s PASS: glib/memory-monitor-dbus.test 1615s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=32768 1616s autopkgtest [12:03:02]: test memory-monitor-dbus: -----------------------] 1616s memory-monitor-dbus PASS 1616s autopkgtest [12:03:02]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1617s autopkgtest [12:03:03]: test socket: preparing testbed 1619s Reading package lists... 1619s Building dependency tree... 1619s Reading state information... 1619s Starting pkgProblemResolver with broken count: 0 1620s Starting 2 pkgProblemResolver with broken count: 0 1620s Done 1620s The following NEW packages will be installed: 1620s autopkgtest-satdep 1620s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1620s Need to get 0 B/776 B of archives. 1620s After this operation, 0 B of additional disk space will be used. 1620s Get:1 /tmp/autopkgtest.z8orER/11-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1620s Selecting previously unselected package autopkgtest-satdep. 1621s (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 ... 71100 files and directories currently installed.) 1621s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1621s Unpacking autopkgtest-satdep (0) ... 1621s Setting up autopkgtest-satdep (0) ... 1622s (Reading database ... 71100 files and directories currently installed.) 1622s Removing autopkgtest-satdep (0) ... 1623s autopkgtest [12:03:09]: test socket: [----------------------- 1623s Running test: glib/socket.test 1623s TAP version 13 1623s # random seed: R02S40aa4492f6f571dd5e6bf4b0b7eb1d5f 1623s 1..28 1623s # Start of socket tests 1624s ok 1 /socket/ipv4_sync 1624s # slow test /socket/ipv4_sync executed in 1.00 secs 1625s ok 2 /socket/ipv4_async 1625s # slow test /socket/ipv4_async executed in 1.00 secs 1625s ok 3 /socket/ipv6_sync 1625s ok 4 /socket/ipv6_async 1625s ok 5 /socket/ipv6_v4mapped 1626s ok 6 /socket/close_graceful 1626s # slow test /socket/close_graceful executed in 1.00 secs 1626s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1626s ok 8 /socket/fd_reuse 1626s ok 9 /socket/address 1626s ok 10 /socket/unix-from-fd 1626s ok 11 /socket/unix-connection 1626s ok 12 /socket/unix-connection-ancillary-data 1626s ok 13 /socket/source-postmortem 1626s ok 14 /socket/read_write 1626s ok 15 /socket/read_writev 1626s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1626s ok 16 /socket/receive_bytes 1626s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1626s ok 17 /socket/receive_bytes_from 1626s # Start of ipv4_sync tests 1626s ok 18 /socket/ipv4_sync/datagram 1626s # Start of datagram tests 1627s ok 19 /socket/ipv4_sync/datagram/timeouts 1627s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1627s # End of datagram tests 1627s # End of ipv4_sync tests 1627s # Start of ipv6_sync tests 1627s ok 20 /socket/ipv6_sync/datagram 1627s # Start of datagram tests 1628s Executing: glib/socket.test 1629s ok 21 /socket/ipv6_sync/datagram/timeouts 1629s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1629s # End of datagram tests 1629s # End of ipv6_sync tests 1629s # Start of reuse tests 1629s ok 22 /socket/reuse/tcp 1629s ok 23 /socket/reuse/udp 1629s # End of reuse tests 1629s # Start of get_available tests 1629s ok 24 /socket/get_available/datagram 1629s ok 25 /socket/get_available/stream 1629s # End of get_available tests 1629s # Start of credentials tests 1629s # Supported on this OS: GCredentials:linux-ucred:pid=0 1629s ok 26 /socket/credentials/tcp_client 1629s # Supported on this OS: GCredentials:linux-ucred:pid=0 1629s ok 27 /socket/credentials/tcp_server 1629s # Supported on this OS: GCredentials:linux-ucred:pid=18287,uid=1000,gid=1000 1629s ok 28 /socket/credentials/unix_socketpair 1629s # End of credentials tests 1629s # End of socket tests 1629s PASS: glib/socket.test 1629s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1629s autopkgtest [12:03:15]: test socket: -----------------------] 1629s socket PASS 1629s autopkgtest [12:03:15]: test socket: - - - - - - - - - - results - - - - - - - - - - 1630s autopkgtest [12:03:16]: test testfilemonitor: preparing testbed 1633s Reading package lists... 1633s Building dependency tree... 1633s Reading state information... 1634s Starting pkgProblemResolver with broken count: 0 1634s Starting 2 pkgProblemResolver with broken count: 0 1634s Done 1634s The following NEW packages will be installed: 1634s autopkgtest-satdep 1634s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1634s Need to get 0 B/780 B of archives. 1634s After this operation, 0 B of additional disk space will be used. 1634s Get:1 /tmp/autopkgtest.z8orER/12-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1634s Selecting previously unselected package autopkgtest-satdep. 1634s (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 ... 71100 files and directories currently installed.) 1634s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1634s Unpacking autopkgtest-satdep (0) ... 1634s Setting up autopkgtest-satdep (0) ... 1636s (Reading database ... 71100 files and directories currently installed.) 1636s Removing autopkgtest-satdep (0) ... 1637s autopkgtest [12:03:23]: test testfilemonitor: [----------------------- 1637s Running test: glib/testfilemonitor.test 1637s TAP version 13 1637s # random seed: R02Sd07627c5ddfa4bdf684ce6c9452fa62b 1637s 1..8 1637s # Start of monitor tests 1637s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1637s # Using temporary directory: /tmp/gio-test-testfilemonitor_OYS2K2 1637s # Using GFileMonitor GInotifyFileMonitor 1639s ok 1 /monitor/atomic-replace 1639s # slow test /monitor/atomic-replace executed in 2.00 secs 1639s # Using temporary directory: /tmp/gio-test-testfilemonitor_GPFKK2 1639s # Using GFileMonitor GInotifyFileMonitor 1642s ok 2 /monitor/file-changes 1642s # slow test /monitor/file-changes executed in 2.51 secs 1642s # Using temporary directory: /tmp/gio-test-testfilemonitor_XQFWK2 1642s # Using GFileMonitor GInotifyFileMonitor 1642s Executing: glib/testfilemonitor.test 1645s ok 3 /monitor/dir-monitor 1645s # slow test /monitor/dir-monitor executed in 3.51 secs 1645s # Using temporary directory: /tmp/gio-test-testfilemonitor_866JK2 1645s # Using GFileMonitor GInotifyFileMonitor 1647s Executing: glib/testfilemonitor.test 1652s Executing: glib/testfilemonitor.test 1657s Executing: glib/testfilemonitor.test 1662s Executing: glib/testfilemonitor.test 1667s Executing: glib/testfilemonitor.test 1670s ok 4 /monitor/dir-not-existent 1670s # slow test /monitor/dir-not-existent executed in 25.02 secs 1670s # Using temporary directory: /tmp/gio-test-testfilemonitor_ND2KK2 1670s # Using GFileMonitor 0 GInotifyFileMonitor 1670s # Using GFileMonitor 1 GInotifyFileMonitor 1672s ok 5 /monitor/cross-dir-moves 1672s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1672s # Using temporary directory: /tmp/gio-test-testfilemonitor_01YKK2 1672s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1672s ok 6 /monitor/finalize-in-callback 1672s # Using temporary directory: /tmp/gio-test-testfilemonitor_XXTKK2 1672s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1672s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1672s ok 7 /monitor/root 1672s # Start of file tests 1672s # Using temporary directory: /tmp/gio-test-testfilemonitor_FFTKK2 1672s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1672s # Running with hard link tests 1672s # Using GFileMonitor GInotifyFileMonitor 1672s Executing: glib/testfilemonitor.test 1676s # Event 0 at expected index 7 skipped because it is marked as optional 1676s # Event 2 at expected index 11 skipped because it is marked as optional 1676s ok 8 /monitor/file/hard-links 1676s # slow test /monitor/file/hard-links executed in 3.51 secs 1676s # End of file tests 1676s # End of monitor tests 1676s PASS: glib/testfilemonitor.test 1676s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1676s autopkgtest [12:04:02]: test testfilemonitor: -----------------------] 1676s autopkgtest [12:04:02]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1676s testfilemonitor PASS 1677s autopkgtest [12:04:03]: test thread-pool-slow: preparing testbed 1678s Reading package lists... 1678s Building dependency tree... 1678s Reading state information... 1679s Starting pkgProblemResolver with broken count: 0 1679s Starting 2 pkgProblemResolver with broken count: 0 1679s Done 1679s The following NEW packages will be installed: 1679s autopkgtest-satdep 1679s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1679s Need to get 0 B/776 B of archives. 1679s After this operation, 0 B of additional disk space will be used. 1679s Get:1 /tmp/autopkgtest.z8orER/13-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1679s Selecting previously unselected package autopkgtest-satdep. 1679s (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 ... 71100 files and directories currently installed.) 1679s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1679s Unpacking autopkgtest-satdep (0) ... 1679s Setting up autopkgtest-satdep (0) ... 1681s (Reading database ... 71100 files and directories currently installed.) 1681s Removing autopkgtest-satdep (0) ... 1682s autopkgtest [12:04:08]: test thread-pool-slow: [----------------------- 1682s Running test: glib/thread-pool-slow.test 1682s TAP version 13 1682s # random seed: R02Sf4c0bd7493ab42dfe86742050687afd8 1682s 1..7 1682s # Start of threadpool tests 1682s ok 1 /threadpool/functions 1682s ok 2 /threadpool/stop-unused 1682s # slow test /threadpool/stop-unused executed in 0.51 secs 1683s ok 3 /threadpool/pools 1683s # [unsorted] ===> pushed new thread with id:27, number of threads:1, unprocessed:0 1683s # [unsorted] ===> pushed new thread with id:66, number of threads:2, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:67, number of threads:3, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:12, number of threads:4, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:24, number of threads:5, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:48, number of threads:6, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:59, number of threads:7, unprocessed:2 1683s # [unsorted] ===> pushed new thread with id:4, number of threads:8, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:34, number of threads:9, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:0 1683s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:1 1683s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:2 1683s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:3 1683s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:4 1683s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:5 1683s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:6 1683s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:7 1683s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:8 1683s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:9 1683s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:10 1683s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:11 1683s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:12 1683s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:13 1683s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:14 1683s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:15 1683s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:16 1683s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:17 1683s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:18 1683s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:19 1683s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:20 1683s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:21 1683s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:22 1683s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:23 1683s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:24 1683s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:25 1683s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:26 1683s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:27 1683s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:28 1683s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:29 1683s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:30 1683s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:31 1683s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:32 1683s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:33 1683s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:34 1683s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:35 1683s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:36 1683s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:37 1683s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:38 1683s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:39 1683s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:40 1683s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:41 1683s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:42 1683s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:43 1683s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:44 1683s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:45 1683s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:46 1683s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:47 1683s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:48 1683s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:49 1683s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:50 1683s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:51 1683s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:52 1683s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:53 1683s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:54 1683s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:55 1683s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:56 1683s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:57 1683s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:58 1683s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:59 1683s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:60 1683s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:61 1683s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:62 1683s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:63 1683s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:64 1683s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:65 1683s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:66 1683s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:67 1683s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:68 1683s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:69 1683s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:70 1683s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:71 1683s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:72 1683s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:73 1683s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:74 1683s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:75 1683s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:76 1683s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:77 1683s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:78 1683s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:79 1683s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:80 1683s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:81 1683s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:82 1683s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:83 1683s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:84 1683s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:85 1683s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:86 1683s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:87 1683s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:88 1683s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:89 1683s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:90 1683s ok 4 /threadpool/no-sort 1683s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:1 1683s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:2 1683s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:3 1683s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:4 1683s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:5 1683s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:6 1683s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:7 1683s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:8 1683s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:9 1683s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:10 1683s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:11 1683s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:12 1683s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:13 1683s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:14 1683s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:15 1683s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:16 1683s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:17 1683s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:18 1683s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:19 1683s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:20 1683s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:21 1683s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:22 1683s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:23 1683s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:24 1683s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:25 1683s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:26 1683s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:27 1683s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:28 1683s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:29 1683s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:30 1683s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:31 1683s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:32 1683s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:33 1683s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:34 1683s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:35 1683s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:36 1683s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:37 1683s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:38 1683s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:39 1683s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:40 1683s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:41 1683s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:42 1683s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:43 1683s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:44 1683s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:45 1683s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:46 1683s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:47 1683s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:48 1683s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:49 1683s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:50 1683s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:51 1683s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:52 1683s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:53 1683s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:54 1683s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 1683s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:56 1683s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:57 1683s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:58 1683s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:59 1683s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:60 1683s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:61 1683s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:62 1683s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:63 1683s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:64 1683s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:65 1683s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:66 1683s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:67 1683s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:68 1683s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:69 1683s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:70 1683s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:71 1683s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:72 1683s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:73 1683s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:74 1683s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:75 1683s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:76 1683s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:77 1683s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:78 1683s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:79 1683s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:80 1683s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:81 1683s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:82 1683s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:83 1683s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:84 1683s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:85 1683s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:86 1683s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:87 1683s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:88 1683s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:89 1683s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:90 1683s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:91 1683s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:92 1683s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:93 1683s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:94 1683s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:95 1683s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:96 1683s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:97 1683s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:98 1683s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:99 1683s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 1683s # Starting thread pool processing 1683s ok 5 /threadpool/sort 1683s ok 6 /threadpool/stop-unused-multiple 1683s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1683s # Pool idle thread count: 0, unprocessed jobs: 50 1684s # Pool idle thread count: 0, unprocessed jobs: 0 1684s # Pool idle thread count: 0, unprocessed jobs: 0 1684s # Pool idle thread count: 10, unprocessed jobs: 0 1684s # Pool idle thread count: 10, unprocessed jobs: 0 1685s # Pool idle thread count: 10, unprocessed jobs: 0 1685s # Pool idle thread count: 10, unprocessed jobs: 0 1685s # Pool idle thread count: 10, unprocessed jobs: 0 1685s # Pool idle thread count: 10, unprocessed jobs: 0 1686s # Pool idle thread count: 10, unprocessed jobs: 0 1686s # Pool idle thread count: 10, unprocessed jobs: 0 1686s # Pool idle thread count: 10, unprocessed jobs: 0 1686s # Pool idle thread count: 10, unprocessed jobs: 0 1687s # Pool idle thread count: 10, unprocessed jobs: 0 1687s # Pool idle thread count: 10, unprocessed jobs: 0 1687s # Pool idle thread count: 10, unprocessed jobs: 0 1687s # Pool idle thread count: 10, unprocessed jobs: 0 1687s Executing: glib/thread-pool-slow.test 1688s # Pool idle thread count: 10, unprocessed jobs: 0 1688s # Pool idle thread count: 10, unprocessed jobs: 0 1688s # Pool idle thread count: 10, unprocessed jobs: 0 1688s # Pool idle thread count: 10, unprocessed jobs: 0 1689s # Pool idle thread count: 10, unprocessed jobs: 0 1689s # Pool idle thread count: 10, unprocessed jobs: 0 1689s # Pool idle thread count: 10, unprocessed jobs: 0 1689s # Pool idle thread count: 10, unprocessed jobs: 0 1690s # Pool idle thread count: 10, unprocessed jobs: 0 1690s # Pool idle thread count: 10, unprocessed jobs: 0 1690s # Pool idle thread count: 10, unprocessed jobs: 0 1690s # Pool idle thread count: 10, unprocessed jobs: 0 1691s # Pool idle thread count: 10, unprocessed jobs: 0 1691s # Pool idle thread count: 10, unprocessed jobs: 0 1691s # Pool idle thread count: 10, unprocessed jobs: 0 1691s # Pool idle thread count: 10, unprocessed jobs: 0 1692s # Pool idle thread count: 10, unprocessed jobs: 0 1692s # Pool idle thread count: 10, unprocessed jobs: 0 1692s # Pool idle thread count: 8, unprocessed jobs: 0 1692s # Pool idle thread count: 8, unprocessed jobs: 0 1692s # Pool idle thread count: 8, unprocessed jobs: 0 1692s # Pool idle thread count: 8, unprocessed jobs: 0 1692s Executing: glib/thread-pool-slow.test 1693s # Pool idle thread count: 10, unprocessed jobs: 0 1693s # Pool idle thread count: 10, unprocessed jobs: 0 1693s # Pool idle thread count: 10, unprocessed jobs: 0 1693s # Pool idle thread count: 10, unprocessed jobs: 0 1694s # Pool idle thread count: 10, unprocessed jobs: 0 1694s # Pool idle thread count: 10, unprocessed jobs: 0 1694s # Pool idle thread count: 2, unprocessed jobs: 0 1694s # Pool idle thread count: 2, unprocessed jobs: 0 1695s # Pool idle thread count: 2, unprocessed jobs: 0 1695s # Pool idle thread count: 2, unprocessed jobs: 0 1695s # Pool idle thread count: 2, unprocessed jobs: 0 1695s # Pool idle thread count: 2, unprocessed jobs: 0 1696s # Pool idle thread count: 2, unprocessed jobs: 0 1696s # Pool idle thread count: 2, unprocessed jobs: 0 1696s # Pool idle thread count: 2, unprocessed jobs: 0 1696s # Pool idle thread count: 2, unprocessed jobs: 0 1697s # Pool idle thread count: 2, unprocessed jobs: 0 1697s # Pool idle thread count: 2, unprocessed jobs: 0 1697s # Pool idle thread count: 2, unprocessed jobs: 0 1697s # Pool idle thread count: 2, unprocessed jobs: 0 1697s Executing: glib/thread-pool-slow.test 1698s # Pool idle thread count: 2, unprocessed jobs: 0 1698s # Pool idle thread count: 2, unprocessed jobs: 0 1698s # Pool idle thread count: 2, unprocessed jobs: 0 1698s # Pool idle thread count: 2, unprocessed jobs: 0 1699s # Pool idle thread count: 2, unprocessed jobs: 0 1699s # Pool idle thread count: 2, unprocessed jobs: 0 1699s # Pool idle thread count: 2, unprocessed jobs: 0 1699s # Pool idle thread count: 2, unprocessed jobs: 0 1700s # Pool idle thread count: 2, unprocessed jobs: 0 1700s # Pool idle thread count: 2, unprocessed jobs: 0 1700s # Pool idle thread count: 2, unprocessed jobs: 0 1700s # Pool idle thread count: 2, unprocessed jobs: 0 1701s # Pool idle thread count: 2, unprocessed jobs: 0 1701s # Pool idle thread count: 2, unprocessed jobs: 0 1701s # Pool idle thread count: 2, unprocessed jobs: 0 1701s # Pool idle thread count: 2, unprocessed jobs: 0 1702s # Pool idle thread count: 2, unprocessed jobs: 0 1702s # Pool idle thread count: 2, unprocessed jobs: 0 1702s # Pool idle thread count: 2, unprocessed jobs: 0 1702s # Pool idle thread count: 2, unprocessed jobs: 0 1702s Executing: glib/thread-pool-slow.test 1703s ok 7 /threadpool/idle-time 1703s # slow test /threadpool/idle-time executed in 19.54 secs 1703s # End of threadpool tests 1703s PASS: glib/thread-pool-slow.test 1703s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1703s autopkgtest [12:04:29]: test thread-pool-slow: -----------------------] 1703s autopkgtest [12:04:29]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1703s thread-pool-slow PASS 1704s autopkgtest [12:04:30]: test threadtests: preparing testbed 1705s Reading package lists... 1706s Building dependency tree... 1706s Reading state information... 1706s Starting pkgProblemResolver with broken count: 0 1706s Starting 2 pkgProblemResolver with broken count: 0 1706s Done 1706s The following NEW packages will be installed: 1706s autopkgtest-satdep 1706s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1706s Need to get 0 B/776 B of archives. 1706s After this operation, 0 B of additional disk space will be used. 1706s Get:1 /tmp/autopkgtest.z8orER/14-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1706s Selecting previously unselected package autopkgtest-satdep. 1706s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71100 files and directories currently installed.) 1706s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1706s Unpacking autopkgtest-satdep (0) ... 1706s Setting up autopkgtest-satdep (0) ... 1708s (Reading database ... 71100 files and directories currently installed.) 1708s Removing autopkgtest-satdep (0) ... 1709s autopkgtest [12:04:35]: test threadtests: [----------------------- 1709s Running test: glib/threadtests.test 1709s TAP version 13 1709s # random seed: R02S5e8eca8a6aa018ce2e449a26ddcd8f7f 1709s 1..5 1709s # Start of GObject tests 1709s ok 1 /GObject/threaded-object-init 1710s ok 2 /GObject/threaded-weak-ref 1710s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 1710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1710s # /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 1714s Executing: glib/threadtests.test 1715s ok 3 /GObject/threaded-toggle-notify 1715s # slow test /GObject/threaded-toggle-notify executed in 5.39 secs 1715s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1715s # Start of threaded-weak-ref tests 1715s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1715s # /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. 1715s ok 5 /GObject/threaded-weak-ref/on-finalization 1715s # End of threaded-weak-ref tests 1715s # End of GObject tests 1715s PASS: glib/threadtests.test 1715s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.5s; system=0.5s; maxrss=4096 1715s autopkgtest [12:04:41]: test threadtests: -----------------------] 1716s autopkgtest [12:04:42]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1716s threadtests PASS 1716s autopkgtest [12:04:42]: test timeout: preparing testbed 1718s Reading package lists... 1718s Building dependency tree... 1718s Reading state information... 1718s Starting pkgProblemResolver with broken count: 0 1718s Starting 2 pkgProblemResolver with broken count: 0 1718s Done 1718s The following NEW packages will be installed: 1718s autopkgtest-satdep 1718s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1718s Need to get 0 B/776 B of archives. 1718s After this operation, 0 B of additional disk space will be used. 1718s Get:1 /tmp/autopkgtest.z8orER/15-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1719s Selecting previously unselected package autopkgtest-satdep. 1719s (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 ... 71100 files and directories currently installed.) 1719s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1719s Unpacking autopkgtest-satdep (0) ... 1719s Setting up autopkgtest-satdep (0) ... 1720s (Reading database ... 71100 files and directories currently installed.) 1720s Removing autopkgtest-satdep (0) ... 1721s autopkgtest [12:04:47]: test timeout: [----------------------- 1721s Running test: glib/timeout.test 1721s TAP version 13 1721s # random seed: R02S914b4b776ae25f1117c49170e41de482 1721s 1..5 1721s # Start of timeout tests 1721s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1723s ok 1 /timeout/seconds 1723s # slow test /timeout/seconds executed in 2.10 secs 1725s ok 2 /timeout/seconds-once 1725s # slow test /timeout/seconds-once executed in 2.10 secs 1725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1726s Executing: glib/timeout.test 1727s ok 3 /timeout/weeks-overflow 1727s # slow test /timeout/weeks-overflow executed in 2.10 secs 1727s ok 4 /timeout/far-future-ready-time 1731s Executing: glib/timeout.test 1736s Executing: glib/timeout.test 1737s ok 5 /timeout/rounding 1737s # slow test /timeout/rounding executed in 10.13 secs 1737s # End of timeout tests 1737s PASS: glib/timeout.test 1737s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1738s autopkgtest [12:05:04]: test timeout: -----------------------] 1738s autopkgtest [12:05:04]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1738s timeout PASS 1739s autopkgtest [12:05:05]: test timer: preparing testbed 1740s Reading package lists... 1740s Building dependency tree... 1740s Reading state information... 1740s Starting pkgProblemResolver with broken count: 0 1740s Starting 2 pkgProblemResolver with broken count: 0 1740s Done 1741s The following NEW packages will be installed: 1741s autopkgtest-satdep 1741s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1741s Need to get 0 B/776 B of archives. 1741s After this operation, 0 B of additional disk space will be used. 1741s Get:1 /tmp/autopkgtest.z8orER/16-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1741s Selecting previously unselected package autopkgtest-satdep. 1741s (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 ... 71100 files and directories currently installed.) 1741s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1741s Unpacking autopkgtest-satdep (0) ... 1741s Setting up autopkgtest-satdep (0) ... 1742s (Reading database ... 71100 files and directories currently installed.) 1743s Removing autopkgtest-satdep (0) ... 1744s autopkgtest [12:05:10]: test timer: [----------------------- 1744s Running test: glib/timer.test 1744s TAP version 13 1744s # random seed: R02S8634625ecb7e95d57f1372d8c199124c 1744s 1..10 1744s # Start of timer tests 1744s ok 1 /timer/basic 1744s ok 2 /timer/stop 1744s ok 3 /timer/continue 1744s ok 4 /timer/reset 1744s ok 5 /timer/is_active 1744s # End of timer tests 1744s # Start of timeval tests 1744s ok 6 /timeval/add 1744s ok 7 /timeval/from-iso8601 1744s ok 8 /timeval/to-iso8601 1744s # Start of to-iso8601 tests 1744s ok 9 /timeval/to-iso8601/overflow 1744s # End of to-iso8601 tests 1744s # End of timeval tests 1744s # Start of usleep tests 1744s ok 10 /usleep/with-zero-wait 1744s # End of usleep tests 1744s PASS: glib/timer.test 1744s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1744s autopkgtest [12:05:10]: test timer: -----------------------] 1745s autopkgtest [12:05:11]: test timer: - - - - - - - - - - results - - - - - - - - - - 1745s timer PASS 1745s autopkgtest [12:05:11]: @@@@@@@@@@@@@@@@@@@@ summary 1745s build PASS (superficial) 1745s build-static PASS (superficial) 1745s installed-tests PASS 1745s closure-refcount PASS 1745s debugcontroller PASS 1745s gdbus-server-auth PASS 1745s gdbus-threading PASS 1745s gmenumodel PASS 1745s mainloop PASS 1745s memory-monitor-dbus PASS 1745s socket PASS 1745s testfilemonitor PASS 1745s thread-pool-slow PASS 1745s threadtests PASS 1745s timeout PASS 1745s timer PASS 1764s Creating nova instance adt-noble-ppc64el-glib2.0-20240319-113606-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-ppc64el-server-20240319.img (UUID 9d87beed-6c32-481f-958d-7469e26317f3)... 1764s Creating nova instance adt-noble-ppc64el-glib2.0-20240319-113606-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-ppc64el-server-20240319.img (UUID 9d87beed-6c32-481f-958d-7469e26317f3)...